grokproject: add middleware to enable access logging
Bug #332173 reported by
Michael Haubenwallner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Fix Released
|
Undecided
|
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#
setup_console_
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 |
Changed in grok: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
http:// svn.zope. org/grokproject /trunk/ ?rev=98120& view=rev