Jump to: navigation, search

log Section



     


archive

Default Value: false
Valid Values: true or false
Changes Take Effect: After restart


Determines whether to archive old logs in separate files. Archived filenames are set to <log-filename without extension>-%d-%i<log-filename extension> if file-max-size's set, otherwise: <log-filename without extension>-%d<log-filename extension>

archived-file-count

Default Value: 5
Valid Values: Any nonnegative integer
Changes Take Effect: After restart


The number of archived files to keep. Value 0 means an infinite number of files.

archived-log-filename-pattern

Default Value:
Valid Values: Valid filename pattern
Changes Take Effect: After restart


The filename pattern for archived files. Required if the value of archive is true. If max-file-size is specified, rollover is size-based, and the pattern must contain %i for an integer index of the archived file. Otherwise rollover is date-based, and the pattern must contain %d, which is replaced with the date in yyyy-MM-dd form. If the pattern ends with .gz or .zip, files will be compressed as they are archived.

centralized-log-level

Default Value: STANDARD
Valid Values: STANDARD, ALARM
Changes Take Effect: After restart


Log level of console appender. Centralized appender supports only levels higher than or equal to INFO. STANDARD level corresponds to INFO, so INFO, WARN and ERROR logs will be sent to Message Server, ALARM level corresponds to ERROR log level

centralized-logging

Default Value: false
Valid Values: true or false
Changes Take Effect: After restart


Determines whether to enable centralized logging.

console-log-level

Default Value:
Valid Values: OFF, ERROR, WARN, INFO, DEBUG, TRACE or ALL
Changes Take Effect: After restart


Log level of console appender. If not set, logger level is used. Appender level can narrow down logger level but not extend it.

file-log-level

Default Value:
Valid Values: OFF, ERROR, WARN, INFO, DEBUG, TRACE or ALL
Changes Take Effect: After restart


File appender log level. If not set, logger level is used. Appender level can narrow down logger level but not extend it.

level

Default Value: INFO
Valid Values: OFF, ERROR, WARN, INFO, DEBUG, TRACE or ALL
Changes Take Effect: After restart


Log level.

log-filename

Default Value: /GCTI/iWD/iwd_history.log
Valid Values: Valid file path
Changes Take Effect: After restart


The path to log file.

log-to-console

Default Value: false
Valid Values: true or false
Changes Take Effect: After restart


Determines whether to log to the console.

log-to-file

Default Value: true
Valid Values: true or false
Changes Take Effect: After restart


Determines whether to log to the file.

max-file-size

Default Value:
Valid Values: The value can be expressed in bytes, kilobytes, megabytes or gigabytes by suffixing a numeric value with KB, MB and respectively GB. For example, 5000000, 5000KB, 5MB and 2GB are all valid values, with the first three being equivalent.
Changes Take Effect: After restart


Used if archive is true. The maximum size of the currently active file before a rollover is triggered.

max-history

Default Value: 5
Valid Values: integer greater than or equal to 0 (zero means to keep infinite number of files)
Changes Take Effect: After restart


Used if archive is true. Controls the maximum number of days for archive files to keep, asynchronously deleting older files.

time-zone

Default Value: UTC
Valid Values: The ID for a time zone, either an abbreviation such as PST, a full name such as America/Los_Angeles, or a custom ID such as GMT-8:00.
Changes Take Effect: After restart


The time zone to which event timestamps will be converted.

This page was last edited on January 26, 2018, at 08:53.
Comments or questions about this documentation? Contact us for support!