This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author theller
Recipients theller
Date 2009-09-21.11:23:15
SpamBayes Score 6.34109e-07
Marked as misclassified No
Message-id <1253532197.53.0.626663388601.issue6958@psf.upfronthosting.co.za>
In-reply-to
Content
I want the Python executable to have command line flags which allow
simple configuration of the logging module.  Use cases are to run
applications/scripts (which use libraries that use logging calls) with
different logging output without having to edit (ugly) logging config files.

The attached patch demonstrates the idea; it allows to run 'python -l
<options> ...' and passes <options> to a new function
logging._parse_python_options(<options>).
History
Date User Action Args
2009-09-21 11:23:17thellersetrecipients: + theller
2009-09-21 11:23:17thellersetmessageid: <1253532197.53.0.626663388601.issue6958@psf.upfronthosting.co.za>
2009-09-21 11:23:16thellerlinkissue6958 messages
2009-09-21 11:23:16thellercreate