Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Re-order filters in order to have them in the same order as the pipel…
Browse files Browse the repository at this point in the history
…ine. Don't set publisher prefix for hurry.resource. Add accesslogging in deploy configuration.
  • Loading branch information
janjaapdriessen committed Nov 24, 2010
1 parent 7750d41 commit 77fabae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
7 changes: 3 additions & 4 deletions grokproject/template/etc/debug.ini.in_tmpl
Expand Up @@ -15,13 +15,12 @@ use = egg:Paste#translogger
[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
Expand Down
12 changes: 7 additions & 5 deletions grokproject/template/etc/deploy.ini.in_tmpl
Expand Up @@ -7,18 +7,20 @@ host = $${:host}
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_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

Expand Down

0 comments on commit 77fabae

Please sign in to comment.