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

zLOG -> logging

parent 0b4455a9
...@@ -171,8 +171,9 @@ class MonitorServerFactory(ServerFactory): ...@@ -171,8 +171,9 @@ class MonitorServerFactory(ServerFactory):
if password is None: if password is None:
msg = ('Monitor server not started because no emergency user ' msg = ('Monitor server not started because no emergency user '
'exists.') 'exists.')
import zLOG import logging
zLOG.LOG("Zope", zLOG.ERROR, msg) LOG = logging.getLogger('Zope')
LOG.error(msg)
return return
from ZServer.medusa.monitor import secure_monitor_server from ZServer.medusa.monitor import secure_monitor_server
return secure_monitor_server(hostname=self.host, port=self.port, 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