Bug 1191267 - Fix mozlog log buffering command line option, r=chmanchester
authorJames Graham <james@hoppipolla.co.uk>
Wed, 05 Aug 2015 11:59:13 +0100
changeset 288176 f5ed4dae7a9c702eef49c3de3f0fa9b8882e0a17
parent 288175 2848ae508c5d566b41ca40ef159ea9566c917070
child 288177 71263add546ecbb88c02303b365d43f950680a13
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1191267
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1191267 - Fix mozlog log buffering command line option, r=chmanchester
testing/mozbase/mozlog/mozlog/commandline.py
--- a/testing/mozbase/mozlog/mozlog/commandline.py
+++ b/testing/mozbase/mozlog/mozlog/commandline.py
@@ -32,17 +32,17 @@ def verbose_wrapper(formatter, verbose):
     formatter.verbose = verbose
     return formatter
 
 def buffer_handler_wrapper(handler, buffer_limit):
     if buffer_limit == "UNLIMITED":
         buffer_limit = None
     else:
         buffer_limit = int(buffer_limit)
-    return handlers.BufferingLogFilter(handler, buffer_limit)
+    return handlers.BufferHandler(handler, buffer_limit)
 
 def default_formatter_options(log_type, overrides):
     formatter_option_defaults = {
         "raw": {
             "level": "debug"
         }
     }
     rv = {"verbose": False,