LogMaxOldFiles
 
Type

Long

Default

-1 (unlimited)

Required

no

Configuration section

Logging and/or LogStream

If you configure this parameter in the Logging section and a LogStream section, the setting in the LogStream section takes precedence for the specified log stream.

Description

Maximum number of log files in the log directory. The maximum number of log files the specified LogDirectory can store before the application executes the specified LogOldAction. If you do not want to restrict how many log files the LogDirectory can store, enter -1.

Example

LogMaxOldFiles=1000

See also

LogDirectory

LogOldAction