From 3fe1e13d9b009c252e608b3582154b4d7634f9d6 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 2 Jun 2023 00:14:25 +0100 Subject: [PATCH] Remove superfluous logging --- src/mongo.py | 1 - src/pis.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mongo.py b/src/mongo.py index 92be868..a8225bd 100644 --- a/src/mongo.py +++ b/src/mongo.py @@ -116,7 +116,6 @@ def putMany(collection :str, data :list): def incrementCounter(target): collection = "meta" col = db[collection] - log.out(f'mongo.incrementCounter: Incrementing counter for {target}', "INFO") col.update_one({"target": "counters","type": "count"}, {"$inc":{target: 1}}) return diff --git a/src/pis.py b/src/pis.py index 52dc154..7617071 100644 --- a/src/pis.py +++ b/src/pis.py @@ -4,7 +4,7 @@ import mongo REBUILD :bool = False # Set to True to force rebuild -print("pis.py: PIS Module Loaded", "DBUG") +log.out("pis.py: PIS Module Loaded", "DBUG") file_location :str = "/app/data/pis/gwr.yaml" # Production & Testing #file_location :str = "/home/fred.boniface/git/owlboard/db-manager/data/pis/gwr.yaml" # Local Development