Skip to content

Commit d561ed8

Browse files
committed
misc(logs): collections and worker large init logs downgrade to debug
1 parent e74b3bf commit d561ed8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

polytope_server/common/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def create_collections(config) -> Dict[str, Collection]:
8383
collections = {}
8484
for k, v in config.items():
8585
collections[k] = Collection(k, v)
86-
logging.info(
86+
logging.debug(
8787
"Configured collections: {}".format(list(collections.keys())),
8888
extra={"collections": [col._serialize() for col in collections.values()]},
8989
)

polytope_server/worker/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def process_request(
221221
id = request.id
222222
collection = self.collections[request.collection]
223223

224-
logging.info(
224+
logging.debug(
225225
"Processing request on collection {}".format(collection.name),
226226
extra={"collection": collection.name, "request": request.serialize()},
227227
)

0 commit comments

Comments
 (0)