LOG (for JGAS)

The LOG element specifies details of the log files the JGAS creates and/or the messages sent to the console.

Syntax

<LOG>
  <CONSOLE> … </CONSOLE>
  <DAILYFILE> … </DAILYFILE>
</LOG>

Child elements

The LOG element may contain the following child elements:

  1. One CONSOLE (under LOG for JGAS) element.
  2. One DAILYFILE (under LOG for JGAS) element.

Usage

You use the LOG element and its child elements to specify details for logs.

With the LOG configuration you specify:
  • Whether logging is enabled for console and/or file
  • If daily log files are enabled, where these are created
  • The format of the log messages
  • The type or category of information logged
  • The maximum size of a single log message

Example: default JGAS as.xcf log configuration

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

Parent elements

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