Skip to content

Commit

Permalink
Merge pull request #103 from ssi-dk/skp/fix-import
Browse files Browse the repository at this point in the history
fix: remove leaky logging.
  • Loading branch information
sjkp committed Sep 13, 2024
2 parents 0ba6544 + dd8184e commit 6ca4876
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ def upsert_tbr_metadata_batch(self, updated_isolates):
if column_mapping.normal_get(k)
}

logging.debug(f"Updating isolate {isolate_id} with {values}")
#logging.debug(f"Updating isolate {isolate_id} with {values}")
coerce_dates(values)
logging.debug(f"Updating isolate after date fixes {isolate_id} with {values}")
#logging.debug(f"Updating isolate after date fixes {isolate_id} with {values}")
encrypt_dict(self.encryption_client, values, pii_columns())
logging.debug(f"Updating isolate after encryption {isolate_id} with {values}")
#logging.debug(f"Updating isolate after encryption {isolate_id} with {values}")
update_query = pymongo.UpdateOne(
{"isolate_id": isolate_id}, {"$set": values}, upsert=True
)
Expand Down

0 comments on commit 6ca4876

Please sign in to comment.