[Python-Dev] Some changes to logging (original) (raw)
Guido van Rossum guido at python.org
Sun Mar 28 05:12:06 EST 2004
- Previous message: [Python-Dev] Some changes to logging
- Next message: [Python-Dev] Python 2.3 problem with extention-embedding in multi-threaded and multi sub-interpreter environment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-Dev] Some changes to logging
- Next message: [Python-Dev] Python 2.3 problem with extention-embedding in multi-threaded and multi sub-interpreter environment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]