Monday, September 5, 2011

Re: logging django errors also on the server

On 09/05/2011 03:05 AM, Reinout van Rees wrote:
> 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.
>
True, That's not added in the doc and could be added for clarity.
I had already a root logger added though.
So my problem must be somewhere else.

Will keep you informed when I manage to replicate the issue or when I
understand what went wrong.

--
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