On Thu, Feb 19, 2009 at 10:38:38PM -0500, Joshua Bronson wrote: > 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 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 > 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 [email protected]. Please contact [email protected] for questions.

