Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6602] BaseHTTPServer log_message should log to sys.stdout

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

May 6, 2012, 3:31 PM

Post #1 of 2 (77 views)
Permalink
[issue6602] BaseHTTPServer log_message should log to sys.stdout

Changes by Ezio Melotti <ezio.melotti [at] gmail>:


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

_______________________________________
Python tracker <report [at] bugs>
<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


report at bugs

May 7, 2012, 4:09 AM

Post #2 of 2 (89 views)
Permalink
[issue6602] BaseHTTPServer log_message should log to sys.stdout [In reply to]

Antoine Pitrou <pitrou [at] free> 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 [at] bugs>
<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

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.