Jump to: navigation, search

log Section



  


all

Default Value: stdout
Valid Values: stdout, stderr, network, [filename]
Changes Take Effect: Immediately


Specifies the outputs to which an application sends all log events. The log output types must be separated by a comma when more than one output is configured. For example: all = stdout, logfile

compressMethod

Default Value:
Valid Values: zip or gzip
Changes Take Effect: Immediately


Specified method that will be used for archiving log files.

debug

Default Value: stdout
Valid Values: stdout, stderr, network, [filename]
Changes Take Effect: Immediately


Specifies the outputs to which an application sends the log events of the Debug level and higher (that is, log events of the Standard, Interaction, Trace and Debug levels). The log outputs must be separated by a comma when more than one output is configured. For example: debug = stderr, network

expire

Default Value: 10
Valid Values: false | <number>[ file] (1-1000) | <number> day (1-100)
Changes Take Effect: Immediately


Determines whether log files expire. If they do, sets the measurement for determining when they expire, along with the maximum number of files (segments) or days before the files are removed. This option is ignored if log output is not configured to be sent to a log file.

messageFormat

Default Value: custom
Valid Values: short, medium, full, shortcsv, shorttsv, shortdsv
Changes Take Effect: Immediately


Specifies the format of log record headers that an application uses when writing logs in the log file. Using compressed log record headers improves application performance and reduces the log file's size.

outputPattern

Default Value: %d{HH:mm:ss,SSS}{UTC} [%5p] %-30c{1} - %m %ex%n
Valid Values:
Changes Take Effect: Immediately


Log4j/Log4j2 pattern which is used to format output messages. Value of this option is used as a log message pattern if 'messageFormat' option value is equal to "custom".

segment

Default Value: 100 MB
Valid Values: false | <number>[ KB] | <number> MB | <number> hr
Changes Take Effect: Immediately


Specifies whether there is a segmentation limit for a log file. If there is, sets the mode of measurement, along with the maximum size. If the current log segment exceeds the size set by this option, the file is closed and a new one is created. This option is ignored if log output is not configured to be sent to a log file.

standard

Default Value: stdout
Valid Values: stdout, stderr, network, [filename]
Changes Take Effect: Immediately


Specifies the outputs to which an application sends the log events of the Standard level. The log output types must be separated by a comma when more than one output is configured. For example: standard = stderr, network

timeConvert

Default Value: utc
Valid Values: local or utc
Changes Take Effect: Immediately


Specifies the system in which an application calculates the log record time when generating a log file. The time is converted from the time in seconds since "00:00:00 UTC, January 1, 1970".

timeFormat

Default Value: time
Valid Values: time, locale or iso8601
Changes Take Effect: Immediately


Specifies how to represent, in a log file, the time when an application generates log records. A log record�s time field in the ISO 8601 format looks like this: "2001-07-24T04:58:10.123".

trace

Default Value: stdout
Valid Values: stdout, stderr, network, [filename]
Changes Take Effect: Immediately


Specifies the outputs to which an application sends the log events of the Trace level and higher (that is, log events of the Standard, Interaction, and Trace levels). The log outputs must be separated by a comma when more than one output is configured. For example: trace = stderr, network

verbose

Default Value: all
Valid Values: all | debug | trace | interaction | standard |none
Changes Take Effect: Immediately


Determines whether a log output is created. If it is, specifies the minimum level of log events generated. The log events levels, starting with the highest priority level, are Standard, Interaction, Trace, and Debug.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 25 September 2018, at 12:51.