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>
- The
Enabled
attribute can be set with a value of "TRUE" or "FALSE". In the JGAS configuration file the default isTRUE
, specified by the resource,log.file.enabled
. - The log-file-path specifies where log files are
written. The default is set by the resource
log.file.path
. - 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:
- One
CATEGORIES (under LOG for JGAS)
element. - 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.