是否可以更改通过Resin健康功能生成的PDF报告的输出路径?

 
可以更改。

请停止resin,采取以下【处理方法】后,重新启动。

resin的停止和启动方法请参阅以下文档。
■intra-mart Accel Platform 安装指南
 6. 启动/停止Web应用程序服务器
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/index.html

【处理方法】 
在Resin的health.xml中有<health:PdfReport>设置。

health.xml配置于以下路径中。
<Linux路径> 
・默认安装路径时 
  /etc/resin/health.xml 
・已指定安装路径时 
  %RESIN_HOME%/conf/health.xml 
<Windows路径> 
 %RESIN_HOME%/conf/health.xml

可以通过在本设置中添加<log-directory>来设置输出PDF报告的目录。
此外,此文件更新后需要重启resin。
▼设置示例(仅作为示例,请根据用户的要求等进行设置。)
----------------------------------------------------------------------------------------------------------------------
<health:PdfReport>
    <path>${resin.root}/doc/admin/pdf-gen.php</path>
    <report>Summary</report>
    <period>7D</period>
    <log-directory>${resin.root}/pdf_report</log-directory>
    <snapshot/>
    <snapshot-jmx>${health_snapshot_jmx}</snapshot-jmx>
    <mail-to>${email}</mail-to>
    <mail-from>${email_from}</mail-from>
    <!-- <profile-time>60s</profile-time> -->

    <health:IfCron value="0 0 * * 0"/>
  </health:PdfReport>
  </resin:if>

  <health:PdfReport>
    <path>${resin.root}/doc/admin/pdf-gen.php</path>
    <report>Restart</report>
    <period>2h</period>
    <mail-to>${email}</mail-to>
    <mail-from>${email_from}</mail-from>
    <log-directory>${resin.root}/pdf_report</log-directory>
    <health:OnRestart/>
  </health:PdfReport>
----------------------------------------------------------------------------------------------------------------------
详细信息请参阅以下文档。
■intra-mart Accel Platform 配置文件参考
 健康Action ― <health:PdfReport>
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/resin/health/health-check/actions.html#&lt;health:pdfreport>


-- 适用对象 ------------------------------------------------------------------------
iAP/Accel Platform/所有更新
--------------------------------------------------------------------------------


FAQID:1153
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助
由 Zendesk 提供技术支持