org.apache.log.output.io.rotate |
Log file rotation policies.
|
Java Source File Name | Type | Comment |
BaseFileNameFilter.java | Class | |
FileStrategy.java | Interface | Strategy for naming log files. |
OrRotateStrategy.java | Class | Hierarchical rotation strategy.
This object is initialised with several rotation strategy objects.
The isRotationNeeded method checks the first rotation
strategy object. |
RevolvingFileStrategy.java | Class | strategy for naming log files based on appending revolving suffix.
If the initial rotation is not specified then the class will attempt to
calculate the rotation number via the following algorithm.
It will search for the file with the highest number in the rotation. |
RotateStrategy.java | Interface | Strategy that checks condition under which file rotation is needed. |
RotateStrategyByDate.java | Class | Rotation stragety based on SimpleDateFormat. |
RotateStrategyBySize.java | Class | Rotation strategy based on size written to log file.
The strategy will signal that a rotation is needed if the
size goes above a set limit. |
RotateStrategyByTime.java | Class | rotation stragety based when log writting started. |
RotatingFileTarget.java | Class | This is a basic Output log target that writes to rotating files. |
UniqueFileStrategy.java | Class | Strategy for naming log files based on appending time suffix. |