[Zope3-checkins] CVS: Zope3/src/zdaemon - zdrun.py:1.22
logger.py:NONE
Fred L. Drake, Jr.
fred at zope.com
Mon Apr 12 15:14:16 EDT 2004
Update of /cvs-repository/Zope3/src/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv6547
Modified Files:
zdrun.py
Removed Files:
logger.py
Log Message:
remove references to zLOG; we use the logging package now
=== Zope3/src/zdaemon/zdrun.py 1.21 => 1.22 ===
--- Zope3/src/zdaemon/zdrun.py:1.21 Thu Feb 26 19:31:58 2004
+++ Zope3/src/zdaemon/zdrun.py Mon Apr 12 15:14:14 2004
@@ -68,6 +68,7 @@
import sys
import time
import errno
+import logging
import socket
import select
import signal
@@ -108,10 +109,9 @@
# Convert socket name to absolute path
self.sockname = os.path.abspath(self.sockname)
if self.config_logger is None:
- import zdaemon.logger
- import zLOG
- zLOG.initialize()
- self.logger = zdaemon.logger.Logger()
+ # This doesn't perform any configuration of the logging
+ # package, but that's reasonable in this case.
+ self.logger = logging.getLogger()
else:
self.logger = self.config_logger()
=== Removed File Zope3/src/zdaemon/logger.py ===
More information about the Zope3-Checkins
mailing list