If log rotation happened after initialization of log analyzer, log analyzer will fail to count the error line correctly.