[issue6602] BaseHTTPServer log_message should log to sys.stdout

tomkm report at bugs.python.org
Thu Jul 30 13:13:26 CEST 2009


New submission from tomkm <tom at dialogue.net>:

I believe that the log_message method of BaseHTTPServer should log to
sys.stdout not sys.stderr, whereas log_error should log to sys.stderr
instead of just delegating to log_message.

I found this inconsistency when using SimpleXMLRPCServer which logs both
successful (200) and non-successful (non-200) requests to stderr when
logRequests is set to True.

----------
components: None
messages: 91093
nosy: tomkm
severity: normal
status: open
title: BaseHTTPServer log_message should log to sys.stdout
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6602>
_______________________________________


More information about the Python-bugs-list mailing list