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