[issue6958] Add Python command line flags to configure logging

Doug Hellmann report at bugs.python.org
Tue Sep 22 21:30:32 CEST 2009


Doug Hellmann <doug.hellmann at gmail.com> added the comment:

@theller, I'm not sure what your point is.  I'm asking what the defined
behavior is if we provide some sort of global way to run a program with
logging configured, and then that app turns around and tries to
reconfigure it.  Should the last one to call the configuration
function(s) win, or the first?

I like the idea of adding this feature to the logging module better than
building it into the interpreter, but I still think it opens up areas
for unexpected behavior, and it would be better to just let each
application set up its own logging.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6958>
_______________________________________


More information about the Python-bugs-list mailing list