SharePoint OData Connector 25.1
SharePoint OData Connector Help

# LogExpireAction

Determines how log files are handled when they exceed the maximum size. Type one of the following to determine how log files are handled when they exceed the `LogMaxSizeKBs` size:

Option | Description
--- | ---
`Compress` | The log file's name is appended with a timestamp, compressed and saved in the log directory. By default, this is a ZIP file. Use the `LogCompressionMode` parameter to specify another compression format.
`Consecutive` | The log file's name is appended with a number and saved in the log directory. When the next log file reaches its `LogMaxSizeKBs` size, it is appended with the next consecutive number.
`Datestamp` | The log file's name is appended with a timestamp and saved in the log directory.
`Previous` | The log file's name is appended with `.previous` and saved in the log directory. Every time a log file reaches its `LogMaxSizeKBs` size, it is given the same postfix so that it overwrites the old log file.
`Day` | Only one log file is created for each day and is appended with the current timestamp. Log files are archived after they reach the `LogMaxSizeKBs` size. NOTE: The `LogMaxSizeKBs` parameter takes precedence over the `LogExpireAction` parameter. Therefore, if you set `LogExpireAction` to `Day`, and the value for `LogMaxSizeKBs` results in more than one log file, multiple log files are generated for each day.

Type: | String
Default: | Datestamp
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: | `LogExpireAction=Compress`
See Also: | LogCompressionMode LogFile LogMaxSizeKBs

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery SharePoint OData Connector 25.1

Topic Title: LogExpireAction