[Python-Dev] Some changes to logging

Guido van Rossum guido at python.org
Sun Mar 28 05:12:06 EST 2004


> This proposed function is much more complicated than what was requested.
> While it does compress multiple lines into a single call, I think it
> does not achieve simplification. 
> 
> I suggest leaving out some options and/or splitting some of those that
> remain into separate functions.  Also, consider changing to name to
> something active instead of configuration related.  The idea is making
> something like the following possible:

As a rather intense user of the logging module, I have to disagree
with Richard here.  The basicConfig() signature that Vinay proposes
covers pretty much everything I would like to be able to do except
setting an explicit handler, which it clearly shouldn't handle.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list