grokproject: add middleware to enable access logging

Bug #332173 reported by Michael Haubenwallner
4
Affects Status Importance Assigned to Milestone
grok
Fix Released
Undecided
Michael Haubenwallner
Nominated for 1.0 by Michael Haubenwallner

Bug Description

debug.ini and deploy.ini should have an accesslog feature, wheather to STDOUT or a file.
paste.translogger provides such a middleware. by default logs to STDOUT

my_example deploy.ini could read:

[app:main]
use = egg:my_example
filter-with = mylogging

[filter:mylogging]
use = egg:Paste#translogger
setup_console_handler = False
logger_name = wsgi

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 8080

[DEFAULT]
# set the name of the zope.conf file
zope_conf = %(here)s/zope.conf

Changed in grok:
assignee: nobody → d2m
Changed in grok:
status: New → In Progress
Revision history for this message
Michael Haubenwallner (d2m) wrote :
Changed in grok:
status: In Progress → Fix Committed
Changed in grok:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.