On Sat, Nov 27, 2010 at 8:28 AM, Luca Sbardella
<[email protected]> wrote:
> Guys,
> Just starting using 1.3 and I have a tiny problem with logging. Too
> much of it!
> I'm running with DEBUG, but I don't want to see database queries.
> Quick way to mute that (not DEBUG+1 please)?
>
> Thanks
>
>
> What is the django way of swithing off the logging on DEBUG from the
> database

You configure your logging:

http://docs.djangoproject.com/en/dev/topics/logging/#configuring-logging

Database queries use the django.db.backends logger; turn off that
logger, and you won't see the db calls.

Yours
Russ Magee %-)
> --
> You received this message because you are subscribed to the Google Groups 
> "Django developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/django-developers?hl=en.
>
>

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

  • logging Luca Sbardella
    • Re: logging Russell Keith-Magee

Reply via email to