Discussion:
logging middleware
Joshua Bronson
2009-02-20 03:38:38 UTC
Permalink
I added some logging middleware and a corresponding setting a couple weeks
ago based on http://code.google.com/p/modwsgi/wiki/DebuggingTechniques. Here
are the relevant changes:
http://trac.openplans.org/melkjug/changeset?new=1945%40%2F&old=1942%40%2F

I'm on the fence with the way I made the setting take values of either true
for basic logging middleware, a directory for verbose logging middleware, or
false to exclude logging middleware. This was useful while I was debugging
getting modwsgi set up, but now I'm not sure how much we'll use it. I'd be
interested to hear whether you think we should keep it around, or
whether/how it should change.

I'll update http://trac.openplans.org/melkjug/wiki/MelkjugIniConfigurationonce
we settle on this.
Robert Marianski
2009-02-20 16:31:46 UTC
Permalink
Post by Joshua Bronson
I added some logging middleware and a corresponding setting a couple weeks
ago based on http://code.google.com/p/modwsgi/wiki/DebuggingTechniques. Here
http://trac.openplans.org/melkjug/changeset?new=1945%40%2F&old=1942%40%2F
I haven't tried them, but I've heard that the repoze guys have some good
logging middleware. Might be worth checking out to see if you can reuse
any of it, or at least draw inspiration.
http://svn.repoze.org/repoze.errorlog/trunk/README.txt
http://svn.repoze.org/repoze.debug/trunk/README.txt
Post by Joshua Bronson
I'm on the fence with the way I made the setting take values of either true
for basic logging middleware, a directory for verbose logging middleware, or
false to exclude logging middleware. This was useful while I was debugging
getting modwsgi set up, but now I'm not sure how much we'll use it. I'd be
interested to hear whether you think we should keep it around, or
whether/how it should change.
I'll update http://trac.openplans.org/melkjug/wiki/MelkjugIniConfigurationonce
we settle on this.
I think it's a good idea to have so you can just flip a switch on and
have verbose logging. But, I can't really have a strong opinion in this
case ;)

Robert


--
Archive: http://www.openplans.org/projects/melkjug/lists/melkjug-development-list/archive/2009/02/1235147526852
To unsubscribe send an email with subject "unsubscribe" to melkjug-dev-***@public.gmane.org Please contact melkjug-dev-manager-ZwoEplunGu1pszqg2B6Wd0B+***@public.gmane.org for questions.
Loading...