Jump to: navigation, search

log Section



  


archive

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


Determines whether to archive old logs in separate files.

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.

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 the file where current events are logged.

log-to-console

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


Determines whether to log events to the console.

max-file-size

Default Value: empty
Valid Values: Any positive integer, or empty
Changes Take Effect: After restart


The maximum size of the currently active file before a rollover is triggered. The value can be expressed in bytes, kilobytes, megabytes, gigabytes, and terabytes by appending B, K, MB, GB, or TB to the numeric value. Example: 100MB, 1GB, 1TB.

time-zone

Default Value: UTC
Valid Values: Valid time zone identifier.
Changes Take Effect: After restart


The ID of a time zone to which event timestamps will be converted—either an abbreviation such as PST, a full name such as America/Los_Angeles, or a custom ID such as GMT-8:00.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 26 January 2018, at 01:53.