Clean up the log