mil.dod.th.ose.logging/src/mil/dod/th/ose/logging/LogWriter.java
private void checkLogSizeAndAge()
    {
        if (m_LogFile.length() >= m_LogMaxByteLimit || Calendar.getInstance().compareTo(m_NextCreationDate) > 0)
        {
            closeLogFile();
            openLogFile();
            
            if (m_LogMaxFileCount != 0) 
            {
                checkNumberOfLogFiles(); 
            }
        }
    }
/**
     * Method that checks the log file size and whether the date is past the configured log age date, 
     * once either of these limits are reached a new log will be started.
     */
Method that checks the log file size and whether the date is past the configured log age date,
once either of these limits are reached a new log will be started.
Method that checks the log file size and whether the date is past the configured log age date once either of these limits are reached a new log will be started .
private void checkLogSizeAndAge()
    {
        if (m_LogFile.length() >= m_LogMaxByteLimit || Calendar.getInstance().compareTo(m_NextCreationDate) > 0)
        {
            closeLogFile();
            openLogFile();
            if (m_LogMaxFileCount != 0) 
            {
                checkNumberOfLogFiles(); 
            }
        }
    }
private void checkLogSizeAndAge ( ) { if ( m_LogFile . length ( ) >= m_LogMaxByteLimit || Calendar . getInstance ( ) . compareTo ( m_NextCreationDate ) > 0 ) { closeLogFile ( ) ; openLogFile ( ) ; if ( m_LogMaxFileCount != 0 ) { checkNumberOfLogFiles ( ) ; } } }
Method that checks the log file size and whether the date is past the configured log age date,
 once either of these limits are reached a new log will be started.
Method that checks the log file size and whether the date is past the configured log age date once either of these limits are reached a new log will be started .