LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
680 stars 165 forks source link

Allow to disable logging, or increase default logging to DEBUG #146

Closed nisanb closed 3 years ago

nisanb commented 3 years ago

Is your feature request related to a problem? Please describe. I'm using python logging to trace and debug my program. It's making it harder when all of BinanceWebSocketApiManager loggings are set by default to INFO, blowing my logging file :(

Describe the solution you'd like ..

Describe alternatives you've considered I thought about manually removing them, but that's not a good option..

Additional context

oliver-zehentleitner commented 3 years ago

I never used it, but there is a way to split the logs of ubwa and your code: https://stackoverflow.com/questions/58020019/how-to-separate-log-handlers-in-python

oliver-zehentleitner commented 3 years ago

Please feel free to reopen if needed.