Remove superfluous logging

This commit is contained in:
Fred Boniface 2023-06-02 00:14:25 +01:00
parent 86ecc4d07d
commit 3fe1e13d9b
2 changed files with 1 additions and 2 deletions

View File

@ -116,7 +116,6 @@ def putMany(collection :str, data :list):
def incrementCounter(target): def incrementCounter(target):
collection = "meta" collection = "meta"
col = db[collection] col = db[collection]
log.out(f'mongo.incrementCounter: Incrementing counter for {target}', "INFO")
col.update_one({"target": "counters","type": "count"}, {"$inc":{target: 1}}) col.update_one({"target": "counters","type": "count"}, {"$inc":{target: 1}})
return return

View File

@ -4,7 +4,7 @@ import mongo
REBUILD :bool = False # Set to True to force rebuild 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 = "/app/data/pis/gwr.yaml" # Production & Testing
#file_location :str = "/home/fred.boniface/git/owlboard/db-manager/data/pis/gwr.yaml" # Local Development #file_location :str = "/home/fred.boniface/git/owlboard/db-manager/data/pis/gwr.yaml" # Local Development