Jump to: navigation, search

access-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 indicates an infinite number.

archived-log-filename-pattern

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


The filename pattern for archived access log 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.

log-filename

Default Value: /GCTI/iWD/iwd_history_access.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!