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.

