A LogServer component is defined.
In addition to standard LogServer configuration settings and process arguments, the Deployment Template uses a configurable property for log archiving.
- numLogBackups - Number of log directory
backups to store.
- shutdownTimeout - Number of seconds to wait
for a component to stop (after receiving a stop command).
- numIdleSecondsAfterStop - Number of seconds to
pause/sleep after a component is stopped. Typically, this will be
used to ensure that log file locks are release by the component
before proceeding.
- targetReportGenDir - Directory to which logs will be copied for report generation.
- targetReportGenHostId - Host to which logs will be coped for report generation.
- skipTestingForFilesDuringCleanup - Used for directory-cleaning operations. If set to "true", will skip the directory-contents
test and instead proceed directly to cleaning the directory. The default behavior is to test the directory contents and skip cleanup if the directory is
not empty.
- The properties documented in the "Fault tolerance and polling interval properties" topic.
<logserver id="LogServer" host-id="ITLHost" port="15010">
<properties>
<property name="numLogBackups" value="10" />
<property name="targetReportGenDir" value="./reports/input" />
<property name="targetReportGenHostId" value="ITLHost" />
</properties>
<log-dir>./logs/logservers/LogServer</log-dir>
<output-dir>./logs/logserver_output</output-dir>
<startup-timeout>120</startup-timeout>
<gzip>false</gzip>
</logserver>