summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-10-02 14:14:14 +0200
committerRuben Pollan <meskio@sindominio.net>2015-10-02 16:37:24 +0200
commit709812ce05b908616efb536820185e1a0eecc1b0 (patch)
treeefb320644c3a515913dbba17dd4294b5020f430b
parentc4d239f56947cf5ae4c4d260946bf5ff9fe040cf (diff)
[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
-rw-r--r--changes/bug-logbook_handler_bubble1
-rw-r--r--src/leap/bitmask/logs/utils.py2
2 files changed, 2 insertions, 1 deletions
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()