From 709812ce05b908616efb536820185e1a0eecc1b0 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 2 Oct 2015 14:14:14 +0200 Subject: [bug] remove bubble argument from the logbook NullHandler NullHandler doesn't have anymore the argument bubble. https://pythonhosted.org/Logbook/changelog.html#version-0-11-0 --- changes/bug-logbook_handler_bubble | 1 + src/leap/bitmask/logs/utils.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/bug-logbook_handler_bubble diff --git a/changes/bug-logbook_handler_bubble b/changes/bug-logbook_handler_bubble new file mode 100644 index 00000000..3770e84f --- /dev/null +++ b/changes/bug-logbook_handler_bubble @@ -0,0 +1 @@ +- Remove bubble argument from the logbook NullHandler diff --git a/src/leap/bitmask/logs/utils.py b/src/leap/bitmask/logs/utils.py index f709da8b..e38839c7 100644 --- a/src/leap/bitmask/logs/utils.py +++ b/src/leap/bitmask/logs/utils.py @@ -55,7 +55,7 @@ def get_logger(perform_rollover=False): level = logbook.NOTSET # This handler consumes logs not handled by the others - null_handler = logbook.NullHandler(bubble=False) + null_handler = logbook.NullHandler() null_handler.push_application() silencer = SelectiveSilencerFilter() -- cgit v1.2.3