Commit d6cb42a2 authored by Andreas Jung's avatar Andreas Jung

- Launchpad #373621: catching and logging exceptions that could cause
  leaking of worker threads
parent a3db0e00
...@@ -26,6 +26,9 @@ Features Added ...@@ -26,6 +26,9 @@ Features Added
- Launchpad #373621: catching and logging exceptions that could cause - Launchpad #373621: catching and logging exceptions that could cause
leaking of worker threads leaking of worker threads
- Launchpad #373577: setting up standard logging earlier within the startup
phase for improving the analysis of startup errors
- zExceptions.convertExceptionType: new API, breaking out conversion of - zExceptions.convertExceptionType: new API, breaking out conversion of
exception names to exception types from 'upgradeException'. exception names to exception types from 'upgradeException'.
......
...@@ -86,6 +86,7 @@ class ZopeStarter: ...@@ -86,6 +86,7 @@ class ZopeStarter:
self.setupServers() self.setupServers()
# drop privileges after setting up servers # drop privileges after setting up servers
self.dropPrivileges() self.dropPrivileges()
self.setupFinalLogging()
self.makeLockFile() self.makeLockFile()
self.makePidFile() self.makePidFile()
self.setupInterpreter() self.setupInterpreter()
...@@ -100,7 +101,6 @@ class ZopeStarter: ...@@ -100,7 +101,6 @@ class ZopeStarter:
# after it has emitted ZServer messages. # after it has emitted ZServer messages.
logger.info('Ready to handle requests') logger.info('Ready to handle requests')
self.setupFinalLogging()
self.sendEvents() self.sendEvents()
def run(self): def run(self):
......
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