Clean up work and log