mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-19 21:40:24 +00:00
@@ -21,6 +21,11 @@ def logging_mp_setup(log_queue: Queue, verbosity: int):
|
||||
root = logging.getLogger()
|
||||
root.setLevel(verbosity)
|
||||
root.addHandler(h)
|
||||
# Disable freqtrade logging outside of the main process
|
||||
# This only leaves logging from the strategy (unless it's prefixed with "freqtrade.")
|
||||
# and eventually from other libraries.
|
||||
if verbosity > logging.DEBUG:
|
||||
logging.getLogger("freqtrade").setLevel(logging.WARNING)
|
||||
|
||||
|
||||
def logging_mp_handle(q: Queue):
|
||||
|
||||
Reference in New Issue
Block a user