[Zope-Checkins] SVN: Zope/trunk/lib/python/ZServer/datatypes.py
zLOG -> logging
Andreas Jung
andreas at andreas-jung.com
Sun Jan 8 05:27:02 EST 2006
Log message for revision 41193:
zLOG -> logging
Changed:
U Zope/trunk/lib/python/ZServer/datatypes.py
-=-
Modified: Zope/trunk/lib/python/ZServer/datatypes.py
===================================================================
--- Zope/trunk/lib/python/ZServer/datatypes.py 2006-01-08 10:25:23 UTC (rev 41192)
+++ Zope/trunk/lib/python/ZServer/datatypes.py 2006-01-08 10:27:02 UTC (rev 41193)
@@ -171,8 +171,9 @@
if password is None:
msg = ('Monitor server not started because no emergency user '
'exists.')
- import zLOG
- zLOG.LOG("Zope", zLOG.ERROR, msg)
+ import logging
+ LOG = logging.getLogger('Zope')
+ LOG.error(msg)
return
from ZServer.medusa.monitor import secure_monitor_server
return secure_monitor_server(hostname=self.host, port=self.port,
More information about the Zope-Checkins
mailing list