Removes debug logger.