diff options
author | Andre Delfino <adelfino@gmail.com> | 2021-03-15 09:43:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 09:43:29 (GMT) |
commit | d42a332a98a31d4db5ea5f980151039f48944427 (patch) | |
tree | 5955237363d5af5585255e1eb2eab56a03e278e5 /Doc/library | |
parent | 59f2741c4a1a53d4122d2cb512337f4b88619de9 (diff) | |
download | cpython-d42a332a98a31d4db5ea5f980151039f48944427.zip cpython-d42a332a98a31d4db5ea5f980151039f48944427.tar.gz cpython-d42a332a98a31d4db5ea5f980151039f48944427.tar.bz2 |
[3.8] [doc] Document logging.basicConfig default format (GH-23710) (GH-24847)
(cherry picked from commit 35cacce5253c50eed0d285836f9ca0ac568991ca)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/logging.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 5bbbd44..0a6b0d2 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1161,7 +1161,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`. | |