Commit 041bb90c authored by Jeremy Hylton's avatar Jeremy Hylton

Don't propagate events to the root logger.

parent b23513f8
......@@ -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