Remove unwanted logging statements.