To configure the retention time of application and error log files, complete the following step in your BIC database.
- The specified LogTotalDaysToKeepFiles does not apply to Runtime Server instances. For more information about deleting log files for Runtime Server, see "Delete log files" in the Brainware Intelligent Capture Runtime Server Help.
- Each BIC application deletes its own file.
- Cleaning is done once per day.
- To determine whether a file is to be deleted, the cleaning process uses the creation time of the file, which is part of the file name.
- If this setting is not configured, no files are deleted.
- To revert to the default setting, set LogTotalDaysToKeepFiles to 0.
-
For SQL Server
exec sp_SetGlobalApplicationSetting 'LogTotalDaysToKeepFiles', '[Number of Days]', True
Example
exec sp_SetGlobalApplicationSetting 'LogTotalDaysToKeepFiles', '5', True
-
For Oracle
exec sp_SetGlobalApplicationSetting ('LogTotalDaysToKeepFiles', '[Number of Days]', 1)
Example
exec sp_SetGlobalApplicationSetting ('LogTotalDaysToKeepFiles', '5', 1)