Import pymongo within the pymongo logger.