Reduce log noise in py md providers

This commit is contained in:
John Colvin committed 2025-06-09 05:58:37 +00:00
1 parent 4c983c6ec1
commit ccc8faf353
2 files changed
+2 -2

No files matched your search

@@ -212,7 +212,7 @@ class BybitMdProvider(pymd.MdProvider):
book_list.append(book)
if self.bridge:
self.bridge.on_books(book_list)
logging.info(f"✔ on_books called for {contract}")
logging.debug(f"✔ on_books called for {contract}")
else:
logging.warning("Bridge is None, cannot call on_books")
except Exception as e:
@@ -187,7 +187,7 @@ class GateIoMdProvider(pymd.MdProvider):
book_list = pymd.PyBookList()
book_list.append(book)
self.bridge.on_books(book_list)
logging.info(f"✔ on_books called for {contract}")
logging.debug(f"✔ on_books called for {contract}")
else:
logging.debug("… no bids/asks in payload; skipping")