Message92932
| 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:17 | theller | set | recipients:
+ theller |
| 2009年09月21日 11:23:17 | theller | set | messageid: <1253532197.53.0.626663388601.issue6958@psf.upfronthosting.co.za> |
| 2009年09月21日 11:23:16 | theller | link | issue6958 messages |
| 2009年09月21日 11:23:16 | theller | create |
|