# Report Generators

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>