Commit 19a56357 authored by Andreas Jung's avatar Andreas Jung

zLOG -> logging

parent 0b4455a9
......@@ -171,8 +171,9 @@ class MonitorServerFactory(ServerFactory):
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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment