1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-03 02:50:58 +08:00

Don't disable existing logger when initializing qlib. (#1339)

* Don't disable existing logger when initializing qlib.

* Add comma in the end of the config line.

* Add comment to the added config.

Co-authored-by: Jinge Wang <jingewang@microsoft.com>
This commit is contained in:
Jinge Wang
2022-11-10 09:20:33 +08:00
committed by GitHub
parent 59fbf23a71
commit 49a5bccfec

View File

@@ -172,6 +172,9 @@ _default_config = {
}
},
"loggers": {"qlib": {"level": logging.DEBUG, "handlers": ["console"]}},
# To let qlib work with other packages, we shouldn't disable existing loggers.
# Note that this param is default to True according to the documentation of logging.
"disable_existing_loggers": False,
},
# Default config for experiment manager
"exp_manager": {