Cleaning up logger