[Zodb-checkins] CVS: ZODB3/zLOG - EventLogger.py:1.8

Jeremy Hylton jeremy at zope.com
Thu Apr 24 13:11:32 EDT 2003


Update of /cvs-repository/ZODB3/zLOG
In directory cvs.zope.org:/tmp/cvs-serv9168

Modified Files:
	EventLogger.py 
Log Message:
Don't propagate events to the root logger.


=== ZODB3/zLOG/EventLogger.py 1.7 => 1.8 ===
--- ZODB3/zLOG/EventLogger.py:1.7	Thu Jan 23 14:58:36 2003
+++ ZODB3/zLOG/EventLogger.py	Thu Apr 24 12:11:31 2003
@@ -37,6 +37,7 @@
     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):
 




More information about the Zodb-checkins mailing list