Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20345
___
___
Vinay Sajip added the comment:
Can you give me a hint, how I could investigate that?
There's no easy way - a lot of Python source is not available for public view,
so there's no telling what the impact would be. While the use of the
module-level functions is provided as a convenience, I
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
Arne Babenhauserheide added the comment:
(though calling logging.basicConfig() still produces some overhead, it does not
pull me away from the task I’m currently doing)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20345
Vinay Sajip added the comment:
Specifying the format is what requires mental investment (because for that I
need to read up on the config options).
Not sure what you mean by config options. Is it too much to remember the
format= parameter in your first post?
I'm not planning to change the
New submission from Arne Babenhauserheide:
Currently the default operation of logging prints messages like the following:
INFO:root: Milk found.
This is close to a print-call, but not much more useful - especially not in
small scripts. To make the default settings more useful to quick
R. David Murray added the comment:
Well, you can always call basicConfig yourself...that's kind of the point of
it. I'm guessing the current output was chosen exactly because it is pretty
much just a print of the input to the log method. But I don't have strong
feelings about it. On the
Vinay Sajip added the comment:
I don't think it is necessary or advisable to change the default, as it is very
easy to provide your own format. As RDM has noted, this could affect backward
compatibility. Furthermore, there are bound to be differing views of what an
ideal default should be, so
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
resolution: - wont fix
status: open - pending
type: - enhancement
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20345
Arne Babenhauserheide added the comment:
I do not think it is necessary to change the defaults, but I do think that it
would help users of python.
In the usecase of bigger applications, the default logging format does not
matter: the overhead of logging.basicConfig() only happens once while
10 matches
Mail list logo