Commit 34f6b9d7 authored by Jeremy Hylton's avatar Jeremy Hylton

Don't propagate events to the root logger.

parent 44bb34f3
......@@ -37,6 +37,7 @@ class EventLogger(BaseLogger):
logger = logging.getLogger('event')
# Add a null handler to prevent warnings about loggers with no handlers:
logger.addHandler(NullHandler())
logger.propagate = 0
def log(self, subsystem, severity, summary, detail, error):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment