[issue21495] Sane default for logging config

2014-05-18 Thread Thomas Guettler
Thomas Guettler added the comment: Just for the record. Here are the discussions about this topic on the python-ideas mailing list: https://mail.python.org/pipermail/python-ideas/2014-May/027839.html https://mail.python.org/pipermail/python-ideas/2014-May/027858.html --

[issue21495] Sane default for logging config

2014-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Moving discussion to python-ideas was the right thing to do. I am closing this for the present as there is no concrete accepted idea to write a patch for. Thomas, if that changes, you can re-open. -- nosy: +terry.reedy resolution: -> later stage: test

[issue21495] Sane default for logging config

2014-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Library (Lib) stage: -> test needed type: -> enhancement versions: +Python 3.5 ___ Python tracker ___ __

[issue21495] Sane default for logging config

2014-05-14 Thread Eric Snow
Eric Snow added the comment: FWIW, I agree with Vinay. -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue21495] Sane default for logging config

2014-05-14 Thread Vinay Sajip
Vinay Sajip added the comment: Just on backward compatibility grounds, a proposal like this isn't going to be acceptable on python-dev, I believe, and I'm not even sure it's necessary to have such a thing in the stdlib: why not just use the approach you suggested for your own projects, and lea

[issue21495] Sane default for logging config

2014-05-13 Thread Thomas Guettler
Thomas Guettler added the comment: Thank you for reading and replying. Yes, I wrote no concret proposal up to now. I have this solutions in mind: logging.config.defaultConfig() Related https://docs.python.org/2/library/logging.config.html Loading a python module:

[issue21495] Sane default for logging config

2014-05-13 Thread Vinay Sajip
Vinay Sajip added the comment: Who decides what's sane and what isn't? You seem to be asking for something, but you don't seem to have a concrete proposal. Are there "sane" defaults in other worlds than the Python world? What are they? -- ___ Python

[issue21495] Sane default for logging config

2014-05-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21495] Sane default for logging config

2014-05-13 Thread Thomas Guettler
New submission from Thomas Guettler: Imagine you write a small console script which is implemented like a library. This tool has to do two things: the console script needs to configure the logging, and the library needs to use it. The library usage of logging it easy well documented: {{{ logg