From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 15 Mar 2021 09:41:00 +0000 (-0700) Subject: [3.9] [doc] Document logging.basicConfig default format (GH-23710) (GH-24835) X-Git-Tag: v3.9.3~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fe408497e6838b6fb761e42e8f8ffc70bd6f3b1;p=thirdparty%2FPython%2Fcpython.git [3.9] [doc] Document logging.basicConfig default format (GH-23710) (GH-24835) (cherry picked from commit 35cacce5253c50eed0d285836f9ca0ac568991ca) --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 788925fed52a..a7f815e9983e 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`. |