[issue20345] Better logging defaults

Arne Babenhauserheide report at bugs.python.org
Thu Jan 23 15:30:14 CET 2014


Arne Babenhauserheide added the comment:

Just calling basicConfig() is not problematic.

Specifying the format is what requires mental investment (because for that I need to read up on the config options).

Would it be possible to add a simple way to select a certain logging style?

In Mercurial I can for example call `hg log --style changelog` to get GNU-style changelog output. This is easy to remember. On the other hand, getting --template "string" right for somewhat complex log styles is a small task in itself.

----------
status: pending -> open

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


More information about the Python-bugs-list mailing list