#25684: Runserver doesn't use `LOGGING` configuration
-----------------------------------+------------------------------------
     Reporter:  fcurella           |                    Owner:  fcurella
         Type:  New feature        |                   Status:  assigned
    Component:  Error reporting    |                  Version:  master
     Severity:  Normal             |               Resolution:
     Keywords:  runserver logging  |             Triage Stage:  Accepted
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------

Comment (by charettes):

 Thanks for the benchmarks.

 Here's [https://groups.google.com/forum/#!searchin/django-
 developers/django.request|sort:date/django-
 developers/154YBWR7K8U/aHtef9DoRFcJ the discussion] I was referring to
 when I raised the performance argument point.

 > However, there's a cost - we'd be adding the requirement for a logging
 configuration for something that is only ever used during development. So
 we'd end up complicating the process of deploying the devserver, which is
 one of those things that is supposed to Just Work™ out of the box.

 > I *think* this would also mean losing the colorisation of devserver
 messages, and for me, colorisation of output of the devserver is a higher
 priority than the need to filter specific lines out of devserver output
 (don't quote me on this one though -- it might be possible to preserve
 colorisation. Some experimentation may be required).

 > It's also a feature that can be achieved using pipes and grep, which
 would be more in line with the broader Unix philosophy.

 > In summary: I don't personally see a particularly compelling case for
 this feature. However, the real test will be whether you can come up with
 an implementation that doesn't overly complicate the deployment of the
 devserver for the case that *most* users need it - a simple server that
 Just Works™.

 #21949 is also a related ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/25684#comment:12>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.6f3a8c1ab3081e47c9fad27652900e47%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to