Clean up log_entry