[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - __init__.py:1.2.2.6
Fred L. Drake, Jr.
fred@zope.com
Fri, 14 Feb 2003 17:17:26 -0500
Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv18375
Modified Files:
Tag: new-install-branch
__init__.py
Log Message:
We only need the zLOG package to deal with logging; leave the
lower-level logging package out of this.
=== Zope/lib/python/Zope/Startup/__init__.py 1.2.2.5 => 1.2.2.6 ===
--- Zope/lib/python/Zope/Startup/__init__.py:1.2.2.5 Fri Feb 14 01:01:14 2003
+++ Zope/lib/python/Zope/Startup/__init__.py Fri Feb 14 17:17:25 2003
@@ -44,7 +44,6 @@
# don't initialize the event logger from the environment
zLOG._call_initialize = 0
- import logging
from zLOG.LogHandlers import StartupHandler
@@ -66,7 +65,7 @@
startup_handler = StartupHandler(open(devnull, 'w'))
# set up our event logger temporarily with a startup handler
- event_logger = logging.getLogger('event')
+ event_logger = zLOG.EventLogger.EventLogger.logger
event_logger.addHandler(startup_handler)
# set a locale if one has been specified in the config