Jump to: navigation, search

time_convert

Section: log
Default Value: local
Valid Values: See table
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.

time_format

Section: log
Default Value: time
Valid Values: See table
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

affectedLoggers

Section: log
Default Value: The default value is an empty string, which means that there aren't any affected loggers.
Valid Values: Comma-separated list of logger names, specified in the LOG4J2.xml. For example: com.genesyslab.webme.commons,PROTOCOL,org.apache.cassandra
Changes Take Effect: Immediately


Verbosity settings are explicitly applied for loggers, as specified in the extended description.

expire

Section: log
Default Value: 3
Valid Values: See table
Changes Take Effect: After restart


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.

segment

Section: log
Default Value: 1000
Valid Values: See table
Changes Take Effect: After restart


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.

verbose

Section: log
Default Value: standard
Valid Values: See table
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.

suppress-data

Section: log
Default Value: true
Valid Values: true, false
Changes Take Effect: Immediately


When enabled, this option masks custom data in logs with asterisks (***). This helps to prevent the exposure of personally-identifiable information in the GWE Server logs.

outputPattern

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


Log4j/Log4j2 pattern used to format output messages. Applies when message-format is set to custom.

message-format

Section: log
Default Value: custom
Valid Values: custom, full, medium, short
Changes Take Effect: Immediately


Specifies the format of log record headers that an application uses when writing logs in the log file. The value custom assumes that the format is specified in the outputPattern option.

debug

Section: log
Default Value: stdout
Valid Values: see table
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, and Trace levels).

The log outputs must be separated by a comma when more than one output is configured. For example: debug = stderr, network.

trace

Section: log
Default Value: stdout
Valid Values: See table
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

standard

Section: log
Default Value: stdout
Valid Values: See table
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

all

Section: log
Default Value: stdout
Valid Values: See table
Changes Take Effect: After start/restart


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

This page was last edited on May 31, 2019, at 16:45.

Feedback

Comment on this article:

blog comments powered by Disqus