move log to temp path