DAILYFILE (under LOG for JGAS)

The DAILYFILE element specifies the log messages that are generated and written to the JGAS log files.

Syntax

<DAILYFILE Enabled="{TRUE|FALSE}" Directory="log-file-path" 
     MaxLength="max"></DAILYFILE>
  1. The Enabled attribute can be set with a value of "TRUE" or "FALSE". In the JGAS configuration file the default is TRUE, specified by the resource, log.file.enabled.
  2. The log-file-path specifies where log files are written. The default is set by the resource log.file.path.
  3. max specifies the number of characters as the maximum size of a single log message. There is no limit set by default. The resource log.file.maxlength, which defines the default is set to -1, which means no limit is set.

Child elements

The DAILYFILE element may contain the following child elements:

  1. One CATEGORIES (under LOG for JGAS) element.
  2. One FORMAT (under LOG for JGAS) element.

Usage

Use this element to configure the output of logs to the daily log file.

Example

<DAILYFILE Enabled="TRUE"
        Directory="$(log.file.path)"
        MaxLength="$(log.file.maxlength)">
    <FORMAT Type="$(log.file.format)">$(log.file.columns)</FORMAT>
    <CATEGORIES>$(log.file.categories)</CATEGORIES>
</DAILYFILE>

In this example, log messages are enabled and written to logs specified in the log file path.

Parent elements

This element is a child of the LOG (for JGAS) element.