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

miss-islington webhook-mailer at python.org
Wed Dec 9 16:56:26 EST 2020


https://github.com/python/cpython/commit/35cacce5253c50eed0d285836f9ca0ac568991ca
commit: 35cacce5253c50eed0d285836f9ca0ac568991ca
branch: master
author: Andre Delfino <adelfino at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-12-09T13:56:17-08:00
summary:

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



Automerge-Triggered-By: GH:vsajip

files:
M Doc/library/logging.rst

diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index fb8ea705b0469..b69431fe2cf37 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`.          |



More information about the Python-checkins mailing list