protected void subAppend ( LoggingEvent event ) { long n = event . timeStamp ; if ( n >= nextCheck ) { try { now . setTime ( n ) ; cleanupAndRollOver ( ) ; } catch ( IOException ioe ) { if ( ioe instanceof InterruptedIOException ) { Thread . currentThread ( ) . interrupt ( ) ; } LogLog . error ( "rollOver() failed." , ioe ) ; } } super . subAppend ( event ) ; }
This method differentiates DailyRollingFileAppender from its super class .