Remove logging-related detritus.