Index |
wrapper.logfile.purge.pattern |
||||||||||||||||||||
WARNINGUnless you are doing one of the specific usage examples below, you will most likely NOT want to use this property. Be careful when doing so as it is very possible to delete files other than log files if you are not careful. This property controls the file pattern to purge old log files. Every time when the log file is rolled and when a new log file is generated, all files matching the specific pattern will be selected and sorted using the sort mode. All available files will be queried and sorted with the specified mode, and files that exceed the maximum number of log files will be deleted. The Pattern and Sort will be available only when the maximum number of log files has been set to a non-zero value.
|
Reference: logfile |
|