[Mpuls-commits] r5182 - base/trunk/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 20 10:15:48 CEST 2011
Author: ludwig
Date: 2011-07-20 10:15:48 +0200 (Wed, 20 Jul 2011)
New Revision: 5182
Modified:
base/trunk/mpulsweb/lib/logfilter.py
Log:
Issue2009: Improvement to the mechanism of handler (part2)
Modified: base/trunk/mpulsweb/lib/logfilter.py
===================================================================
--- base/trunk/mpulsweb/lib/logfilter.py 2011-07-20 08:15:01 UTC (rev 5181)
+++ base/trunk/mpulsweb/lib/logfilter.py 2011-07-20 08:15:48 UTC (rev 5182)
@@ -29,14 +29,6 @@
return True
-#class DBNameHandler(logging.StreamHandler):
-# """
-# Handler with DBNameContextFilter.
-# """
-# def __init__(self, *args, **kwargs):
-# logging.StreamHandler.__init__(self, *args, **kwargs)
-# self.addFilter(DBNameContextFilter())
-
def filtered_handler(base_handler, *args):
handler = base_handler(*args)
handler.addFilter(DBNameContextFilter())
More information about the Mpuls-commits
mailing list