[Checkins] SVN: zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py initialize any <logger> defined in the config, as zope.app.server does
Adam Groszer
agroszer at gmail.com
Mon Apr 19 10:37:30 EDT 2010
Log message for revision 111095:
initialize any <logger> defined in the config, as zope.app.server does
Changed:
U zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py
-=-
Modified: zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py
===================================================================
--- zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py 2010-04-19 14:09:38 UTC (rev 111094)
+++ zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py 2010-04-19 14:37:30 UTC (rev 111095)
@@ -130,10 +130,14 @@
# Parse product configs
zope.app.appsetup.product.setProductConfigurations(
options.product_config)
-
+
# Setup the event log
options.eventlog()
+ # Setup other defined loggers
+ for logger in options.loggers:
+ logger()
+
# Insert the devmode feature, if turned on
if options.devmode:
features += ('devmode',)
More information about the checkins
mailing list