Mailing List Archive

[issue6602] BaseHTTPServer log_message should log to sys.stdout
Changes by Ezio Melotti <ezio.melotti@gmail.com>:


----------
keywords: +easy
versions: +Python 3.3 -Python 3.1

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue6602>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue6602] BaseHTTPServer log_message should log to sys.stdout [ In reply to ]
Antoine Pitrou <pitrou@free.fr> added the comment:

Disagreed. sys.stderr is not only for "errors" but all informational messages of little value (warnings, debug messages etc.). Also, logging to two different streams makes redirecting clumsier.

If you want to change this, it would more useful to add a facility to allow users to choose output streams. Or even - shocking idea - to integrate the logging module in BaseHTTPServer.

----------
nosy: +pitrou

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue6602>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com