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, _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins