mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-04 12:45:06 +08:00
MAINT: Upgrade Logbook version
Upgrade Logbook to 0.12.5. This required changing a usage of `logbook.NullHandler()` which passed `bubble=True`, since `NullHandler` no longer supports the `bubble` argument.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
pip>=7.1.0
|
||||
|
||||
# Logging
|
||||
Logbook==0.10.0
|
||||
Logbook==0.12.5
|
||||
|
||||
# Scientific Libraries
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ from zipline.utils.factory import load_from_yahoo
|
||||
from zipline.finance import commission
|
||||
|
||||
zipline_logging = logbook.NestedSetup([
|
||||
logbook.NullHandler(level=logbook.DEBUG, bubble=True),
|
||||
logbook.NullHandler(),
|
||||
logbook.StreamHandler(sys.stdout, level=logbook.INFO),
|
||||
logbook.StreamHandler(sys.stderr, level=logbook.ERROR),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user