[Checkins] SVN: zope.app.wsgi/trunk/ Freshen the devmode warning message.
Dan Korostelev
nadako at gmail.com
Mon Feb 9 19:31:29 EST 2009
Log message for revision 96356:
Freshen the devmode warning message.
Changed:
U zope.app.wsgi/trunk/CHANGES.txt
U zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py
-=-
Modified: zope.app.wsgi/trunk/CHANGES.txt
===================================================================
--- zope.app.wsgi/trunk/CHANGES.txt 2009-02-10 00:16:42 UTC (rev 96355)
+++ zope.app.wsgi/trunk/CHANGES.txt 2009-02-10 00:31:29 UTC (rev 96356)
@@ -5,6 +5,9 @@
3.5.0 (unreleased)
------------------
+- Make devmode warning message more generic. We don't nesessary have the
+ `etc/zope.conf` file nowadays when using buildout-based setups.
+
- Add an application factory for Paste. So Zope application can now be
easily deployed with Paste .ini configuration like this::
Modified: zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py
===================================================================
--- zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py 2009-02-10 00:16:42 UTC (rev 96355)
+++ zope.app.wsgi/trunk/src/zope/app/wsgi/__init__.py 2009-02-10 00:31:29 UTC (rev 96356)
@@ -125,7 +125,9 @@
features += ('devmode',)
logging.warning("Developer mode is enabled: this is a security risk "
"and should NOT be enabled on production servers. Developer mode "
- "can be turned off in etc/zope.conf")
+ "can usually be turned off by setting the `devmode` option to "
+ "`off` or by removing it from the instance configuration file "
+ "completely.")
# Execute the ZCML configuration.
appsetup.config(options.site_definition, features=features)
More information about the Checkins
mailing list