Cleaning log for production mode