[Checkins] SVN: grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/de Re-order filters in order to have them in the same order as the pipeline. Don't set publisher prefix for hurry.resource. Add accesslogging in deploy configuration.

Jan-Jaap Driessen jdriessen at thehealthagency.com
Wed Nov 24 07:29:23 EST 2010


Log message for revision 118550:
  Re-order filters in order to have them in the same order as the pipeline. Don't set publisher prefix for hurry.resource. Add accesslogging in deploy configuration.

Changed:
  U   grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/debug.ini.in_tmpl
  U   grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/deploy.ini.in_tmpl

-=-
Modified: grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/debug.ini.in_tmpl
===================================================================
--- grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/debug.ini.in_tmpl	2010-11-24 11:45:52 UTC (rev 118549)
+++ grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/debug.ini.in_tmpl	2010-11-24 12:29:22 UTC (rev 118550)
@@ -15,13 +15,12 @@
 [filter:evalexception]
 use = egg:z3c.evalexception#ajax
 
-[filter:resource_injection]
-use = egg:hurry.resource#inject
-publisher_prefix = /resources
-
 [filter:resource_publisher]
 use = egg:hurry.resource#publisher
 
+[filter:resource_injection]
+use = egg:hurry.resource#inject
+
 [app:grok]
 use = egg:grokcore.startup#debug
 exempt-exceptions = zope.security.interfaces.IUnauthorized

Modified: grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/deploy.ini.in_tmpl
===================================================================
--- grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/deploy.ini.in_tmpl	2010-11-24 11:45:52 UTC (rev 118549)
+++ grokproject/branches/janjaapdriessen-hurry.resource/grokproject/template/etc/deploy.ini.in_tmpl	2010-11-24 12:29:22 UTC (rev 118550)
@@ -7,18 +7,20 @@
 port = $${:port}
 
 [pipeline:main]
-pipeline = gzip resource_publisher resource_injection grok
+pipeline = accesslogging gzip resource_publisher resource_injection grok
 
+[filter:accesslogging]
+use = egg:Paste#translogger
+
 [filter:gzip]
 use = egg:Paste#gzip
 
+[filter:resource_publisher]
+use = egg:hurry.resource#publisher
+
 [filter:resource_injection]
 use = egg:hurry.resource#inject
-publisher_prefix = /resources
 
-[filter:resource_publisher]
-use = egg:hurry.resource#publisher
-
 [app:grok]
 use = egg:grokcore.startup
 



More information about the checkins mailing list