# LogMaxOldFiles

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

Type: | Long
Default: | -1 (unlimited)
Required: | No
Configuration Section: | Logging or LogStream or TaskName If you set this parameter in the `Logging` and `LogStream` sections, the setting in the `LogStream` section takes precedence for the specified log stream.
Example: | `LogMaxOldFiles=1000`
See Also: | LogDirectory LogOldAction

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm