#18993: Default django logging to StreamHandler (when DEBUG=True)
----------------------------------------+------------------------
               Reporter:  claudep       |          Owner:  nobody
                   Type:  New feature   |         Status:  new
              Component:  Core (Other)  |        Version:  master
               Severity:  Normal        |       Keywords:
           Triage Stage:  Unreviewed    |      Has patch:  0
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  0
                  UI/UX:  0             |
----------------------------------------+------------------------
 Currently, logging from Django code (except for django.request and
 django.db.backends) is going by default to the bin (`NullHandler`). I
 think this is discouraging usage of logging in Django, hence I'd like to
 replace the `NullHandler` by a `StreamHandler` redirecting to stdout when
 DEBUG is True. Working on a patch...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18993>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to