Sunday, September 4, 2011

Re: logging django errors also on the server

On 05-09-11 02:25, Gelonida N wrote:
> I see my own log traces.
> In many situations I do see error messages in the log output.

An important thing that's not mentioned too clearly in Django 1.3's
logging docs: *add a root logger*. So a logger with an empty string as a
name. That one catches all messages, including the ones to the
django.something.error logger.


Reinout

--
Reinout van Rees http://reinout.vanrees.org/
reinout@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment