From 64797452ab029d1d9075f12c28d7f7e9ca945384 Mon Sep 17 00:00:00 2001 From: Jason Lubken Date: Wed, 14 Oct 2020 11:43:03 -0400 Subject: [PATCH] Remove logging of raw pymongo docs --- src/dsdk/mongo.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dsdk/mongo.py b/src/dsdk/mongo.py index c8d38ab..b8c7817 100644 --- a/src/dsdk/mongo.py +++ b/src/dsdk/mongo.py @@ -264,13 +264,11 @@ def open_batch(self) -> Generator[Batch, None, None]: batch = Batch(parent) doc = batch.as_insert_doc() with mongo.connect() as database: - logger.info(doc) key = mongo.insert_one(database.batches, doc) yield batch key, values = batch.as_update_doc() with mongo.connect() as database: - logger.info(values) mongo.update_one(database.batches, key, {"$set": values}) def store_evidence(self, batch: Any, *args, **kwargs) -> None: