>> 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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to