[issue6958] Add Python command line flags to configure logging
Jean-Paul Calderone
report at bugs.python.org
Mon Sep 21 23:02:37 CEST 2009
Jean-Paul Calderone <exarkun at divmod.com> added the comment:
How about putting this into the logging module instead? Instead of
"python <logging options> <program> <program options>", making it
"python -m logging <logging options> <program> <program options".
This:
* involves no changes to the core interpreter
* only requires Python to be written, not C
* Lets other VMs benefit from the feature immediately
* Follows what seems to be the emerging convention for this kind of
(eg pdb, unittest)
* Still allows logging to be configured for arbitrary programs that
wouldn't otherwise be configurable in this way
----------
nosy: +exarkun
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6958>
_______________________________________
More information about the Python-bugs-list
mailing list