close log file > 24 hours