[Python-Dev] Stdlib Logging questions (PEP 337 SoC)
skip at pobox.com
skip at pobox.com
Tue Jun 6 16:40:24 CEST 2006
>> As far as I can tell, this PEP hasn't actually been discussed.
>> Please don't waste time changing modules for which there is no
>> consensus that this *should* be done.
Jim> Under a specific PEP number, no. The concept of adding logging to
Jim> the stdlib, yes, periodically. The typical outcome is that some
Jim> people say "why bother, besides it would slow things down" and
Jim> others say "yes, please."
I'll chime in and suggest that any checkins be done on a branch for now. I
have a distinct love/hate relationship with the logging module, so I'm
ambivalent about whether or not
print >> sys.stderr, ...
should be replaced with
stderr_logger.debug("...")
I'd have to see it in action before deciding.
I notice in the PEP that BaseHTTPServer is on the list of candidate modules.
Please don't mess with anything that logs in the common Apache log format.
There are lots of tools out there that munch on that sort of output.
Changing it would just break them.
Skip
More information about the Python-Dev
mailing list