summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-12-09 21:56:17 (GMT)
committerGitHub <noreply@github.com>2020-12-09 21:56:17 (GMT)
commit35cacce5253c50eed0d285836f9ca0ac568991ca (patch)
tree9858e66c52077331ab4c85e954933e03e8d96983
parentd5dcb653176387b72c8630f1a5464571f538a639 (diff)
downloadcpython-35cacce5253c50eed0d285836f9ca0ac568991ca.zip
cpython-35cacce5253c50eed0d285836f9ca0ac568991ca.tar.gz
cpython-35cacce5253c50eed0d285836f9ca0ac568991ca.tar.bz2
[doc] Document logging.basicConfig default format (GH-23710)
Automerge-Triggered-By: GH:vsajip
-rw-r--r--Doc/library/logging.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index fb8ea70..b69431f 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -1174,7 +1174,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`. |