Four report generator components are defined.
In addition to standard Report Generator configuration settings and process arguments, the Deployment Template uses a configurable property for log archiving, as well as these configurable properties:
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.
The configuration file includes the name of an output file for each
report generator, which defaults to
report.html
or
report.xml
. This file name is never used when the
report generation scripts in the
AppConfig.xml
file are used. During execution, the
script re-provisions the report generator to output a file named with a date
stamp. This means that the provisioning in the file will always be "out of
synch" with the provisioning in the EAC. This will result in the Report
Generator's definition changing repeatedly as scripts are executed.
<report-generator id="WeeklyReportGenerator" host-id="ITLHost"> <log-dir>./logs/report_generators/WeeklyReportGenerator</log-dir> <input-dir>./reports/input</input-dir> <output-file>./reports/weekly/report.xml</output-file> <stylesheet-file> ./config/report_templates/tools_report_stylesheet.xsl </stylesheet-file> <settings-file> ./config/report_templates/report_settings.xml </settings-file> <time-range>LastWeek</time-range> <time-series>Daily</time-series> <charts-enabled>true</charts-enabled> </report-generator>
In addition to standard LogServer configuration settings and process arguments, the Deployment Template uses a configurable property for log archiving.
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>