LogOldAction
 
Type

String

Default

Delete

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

Determines how log files are handled when the maximum number of log files is exceeded. Enter one of the following to determine how log files are handled when the LogDirectory has reached the maximum number of log files, as determined by the LogMaxOldFiles parameter:

Delete
The log files are deleted.

Move
The log files are moved to the specified LogArchiveDirectory.

Example

LogOldAction=Move

See also

LogArchiveDirectory

LogDirectory

LogMaxOldFiles