Commit 094e3972 authored by Fred Drake's avatar Fred Drake

move out-of-place comment

parent 55b120b8
...@@ -164,7 +164,6 @@ class ZopeStarter: ...@@ -164,7 +164,6 @@ class ZopeStarter:
# no log files written in read only mode # no log files written in read only mode
return return
# flush buffered startup messages to event logger
if self.cfg.eventlog is not None: if self.cfg.eventlog is not None:
self.cfg.eventlog() self.cfg.eventlog()
if self.cfg.access is not None: if self.cfg.access is not None:
...@@ -285,6 +284,7 @@ class UnixZopeStarter(ZopeStarter): ...@@ -285,6 +284,7 @@ class UnixZopeStarter(ZopeStarter):
if self.startup_handler in self.event_logger.handlers: if self.startup_handler in self.event_logger.handlers:
self.event_logger.removeHandler(self.startup_handler) self.event_logger.removeHandler(self.startup_handler)
self.setupConfiguredLoggers() self.setupConfiguredLoggers()
# flush buffered startup messages to event logger
logger = logging.getLogger('event') logger = logging.getLogger('event')
self.startup_handler.flushBufferTo(logger) self.startup_handler.flushBufferTo(logger)
......
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