[Python-checkins] [3.9] [doc] Document logging.basicConfig default format (GH-23710) (GH-24835)

vsajip webhook-mailer at python.org
Mon Mar 15 05:41:11 EDT 2021


https://github.com/python/cpython/commit/2fe408497e6838b6fb761e42e8f8ffc70bd6f3b1
commit: 2fe408497e6838b6fb761e42e8f8ffc70bd6f3b1
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2021-03-15T09:41:00Z
summary:

[3.9] [doc] Document logging.basicConfig default format (GH-23710) (GH-24835)

(cherry picked from commit 35cacce5253c50eed0d285836f9ca0ac568991ca)

files:
M Doc/library/logging.rst

diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 788925fed52ac..a7f815e9983e8 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -1176,7 +1176,9 @@ functions.
    |              | to ``'a'``.                                 |
    +--------------+---------------------------------------------+
    | *format*     | Use the specified format string for the     |
-   |              | handler.                                    |
+   |              | handler. Defaults to attributes             |
+   |              | ``levelname``, ``name`` and ``message``     |
+   |              | separated by colons.                        |
    +--------------+---------------------------------------------+
    | *datefmt*    | Use the specified date/time format, as      |
    |              | accepted by :func:`time.strftime`.          |



More information about the Python-checkins mailing list