6 messages in com.googlegroups.pylons-discussRe: Pylons 0.9.2 - where did my loggi...
FromSent OnAttachments
programmer.py15 Dec 2006 09:40 
Pedro Algarvio, aka, s0undt3ch15 Dec 2006 15:49 
programmer.py16 Dec 2006 17:51 
programmer.py19 Dec 2006 07:14 
Pedro Algarvio, aka, s0undt3ch19 Dec 2006 20:36 
Pedro Algarvio, aka, s0undt3ch19 Dec 2006 20:40 
Subject:Re: Pylons 0.9.2 - where did my logging info go?
From:Pedro Algarvio, aka, s0undt3ch (ufs-@public.gmane.org)
Date:12/19/2006 08:36:49 PM
List:com.googlegroups.pylons-discuss

programmer.py wrote:

Ok. I found my problem, or at least a fix.

It seems that the paste.translogger middleware was automagically being used in previous versions of pylons. But 0.9.3 doesn't automagically do this for you.

To fix this, I edited my middleware.py file ->

from paste.translogger import TransLogger

# in make_app app = TransLogger(app)

TransLogger without any additional arguments simply logs to the console, which works for me while hacking away in dev mode. Maybe the template generator should be updated to generate the `correct' TransLogger entry in the middleware.py file?

I have no such thing as a translogger in my middleware, but I'll sure have a look at that. :)

Pedro Algarvio