Updated the mongodb debug logger.