Really fix the log file, cleaning up on enqueue