Remove extraneous log handlers.