Merge pull request #128 from gomoripeti/pgoĢˆ-rotate-check-interval

fix internal log rotation when check_interval > 0