Roundup Robot added the comment:
New changeset 5ce760e2cc59 by Vinay Sajip in branch '2.7':
Issue #24060: Made logging.Formatter documentation a little clearer.
https://hg.python.org/cpython/rev/5ce760e2cc59
New changeset 88c141233d1e by Vinay Sajip in branch '3.4':
Issue #24060: Made
R. David Murray added the comment:
Sounds good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24060
___
___
Python-bugs-list mailing list
R. David Murray added the comment:
Not to my eyes. It clearly says that if no formatting string is specified, the
default is used, and that formatTime is used only if the message string
contains asctime. Up to Vinay whether he thinks it is worth adding something
like which does not include
Vinay Sajip added the comment:
Perhaps I'll just change it to say
... the default value of '%(message)s' is used, which just includes the message
in the logging call. To have additional items of information in the formatted
output (such as a timestamp), see other placeholder variables ...
New submission from Karl Richter:
The `Formatter` section of the `logging` module at
https://docs.python.org/2/library/logging.html#formatter-objects reads like
it's sufficient to create an instance of `Formatter` with default arguments
(and set it as formatter of the `Handler` of a `Logger`)
Changes by Ned Deily n...@acm.org:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24060
___
___
Python-bugs-list mailing list