| java.lang.Object org.jivesoftware.util.log.output.io.rotate.RevolvingFileStrategy
RevolvingFileStrategy | public class RevolvingFileStrategy implements FileStrategy(Code) | | strategy for naming log files based on appending revolving suffix.
Heavily odified by Bruce Ritchie (Jive Software) to rotate along
the following strategy:
current log file will always be the base File name
the next oldest file will be the _1 file
the next oldest file will be the _2 file
etc.
author: Bernhard Huber |
RevolvingFileStrategy | public RevolvingFileStrategy(String baseFileName, int maxCount)(Code) | | |
nextFile | public File nextFile()(Code) | | Calculate the real file name from the base filename.
File the calculated file name |
|
|