Remove superfluous logging
This commit is contained in:
parent
86ecc4d07d
commit
3fe1e13d9b
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user