Clean up log file