public void setRolloverCheckPeriod ( long period ) { if ( period > 1000 ) _rolloverCheckPeriod = period ; else if ( period > 0 ) _rolloverCheckPeriod = 1000 ; if ( DAY < _rolloverCheckPeriod ) { log . info ( this + " rollover-check-period " + _rolloverCheckPeriod + "ms is longer than 24h" ) ; _rolloverCheckPeriod = DAY ; } }
Sets how often the log rollover will be checked .