cleaned up log file maintenance