[Checkins] SVN: zope.app.wsgi/branches/achapman_username_logging/src/zope/app/wsgi/README.txt added simple test for logging info
Alex Chapman
achapman at zope.com
Thu Apr 2 09:18:39 EDT 2009
Log message for revision 98790:
added simple test for logging info
Changed:
U zope.app.wsgi/branches/achapman_username_logging/src/zope/app/wsgi/README.txt
-=-
Modified: zope.app.wsgi/branches/achapman_username_logging/src/zope/app/wsgi/README.txt
===================================================================
--- zope.app.wsgi/branches/achapman_username_logging/src/zope/app/wsgi/README.txt 2009-04-02 09:10:58 UTC (rev 98789)
+++ zope.app.wsgi/branches/achapman_username_logging/src/zope/app/wsgi/README.txt 2009-04-02 13:18:39 UTC (rev 98790)
@@ -58,6 +58,12 @@
processed would require us to bring up a lot of Zope 3's system, which would
be just a little bit too much for this demonstration.
+We can check the environ after being sent to the app and also see that
+a key has been set to store user names for use in access logs:
+
+ >>> 'wsgi.logging_info' in environ
+ True
+
Now that we have seen the manual way of initializing and using the publisher
application, here is the way it is done using all of Zope 3's setup machinery::
More information about the Checkins
mailing list