Cleaning up a log entry