Clear log when a job is restarted