Changes between Initial Version and Version 1 of Ticket #25684


Ignore:
Timestamp:
Nov 5, 2015, 4:01:20 PM (9 years ago)
Author:
Flavio Curella
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25684 – Description

    initial v1  
    11this is slightly related to https://code.djangoproject.com/ticket/25523
    22
    3 All output in ``core.servers.basehttp`` (and possibly ``fastcgi`` - I haven't checked that yet) uses ``sys.stderr.write``, bypassing the logging subsystem.
     3All output in `core.servers.basehttp` (and possibly `fastcgi` - I haven't checked that yet) uses ``sys.stderr.write``, bypassing the logging subsystem.
    44
    5 In order to have it use the ``LOGGING`` settings, I can see 3 options:
     5In order to have it use the `LOGGING` settings, I can see 3 options:
    66
    7 a) make it always use ``logger.info(msg)`` and change the default `LOGGING` settings appropriately
    8 b) make it always use both ``sys.stdout.write`` and ``logger.info``
     7a) make it always use `logger.info(msg)` and change the default `LOGGING` settings appropriately
     8b) make it always use both `sys.stdout.write` and ``logger.info`
    99c) add an option to runserver to switch behaviour
    1010
Back to Top