Logging Properties

The following table lists the logging properties.

Logging Properties

Property

Description

filename

The name of the file that the log is written to. Files are not logged by default. Backup log files will be retained in the same directory.

consolelogging

Determines if a log message should be sent to the standard output. Defaults to true.

maxsizemb

The maximum size in megabytes of the log file before it is rotated. It defaults to 100 megabytes.

maxbackups

This is the maximum number of old log files to retain. A value of 0 will retain all log files. The default is to retain 5 old log files (though MaxAge may still cause them to get deleted).

maxagedays

The maximum number of days to retain old log files based on the timestamp encoded in their filename. Note that a day is defined as 24 hours and may not exactly correspond to calendar days due to daylight savings, leap seconds, etc. The default is not to remove old log files based on age.

compressbackups

Determines if the rotated log files should be compressed using Gzip. Defaults to true.