Subclasses may override this method to modify rollover behavior.
Syntax
boolean
shouldRollover
(
File
log
,
long
size
) throws SecException
Parameters
-
log –
The base log file that may be rolled over
-
size –
The current size of the log file (this is a generally more accurate value than that returned from the filesystem).
Returns
Whether or not it is time to roll over the log file
Usage
This method is called on every audit record write so it should be fast. The default implementation delegates to the size rollover implementation.
Whether or not it is time to roll over the log file