Changes between Initial Version and Version 1 of Ticket #25684
- Timestamp:
- Nov 5, 2015, 4:01:20 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25684 – Description
initial v1 1 1 this is slightly related to https://code.djangoproject.com/ticket/25523 2 2 3 All output in ` `core.servers.basehttp`` (and possibly ``fastcgi`` - I haven't checked that yet) uses ``sys.stderr.write``, bypassing the logging subsystem.3 All output in `core.servers.basehttp` (and possibly `fastcgi` - I haven't checked that yet) uses ``sys.stderr.write``, bypassing the logging subsystem. 4 4 5 In order to have it use the ` `LOGGING`` settings, I can see 3 options:5 In order to have it use the `LOGGING` settings, I can see 3 options: 6 6 7 a) make it always use ` `logger.info(msg)`` and change the default `LOGGING` settings appropriately8 b) make it always use both ` `sys.stdout.write`` and ``logger.info``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` 9 9 c) add an option to runserver to switch behaviour 10 10