From: Andre Delfino Date: Mon, 15 Mar 2021 09:43:29 +0000 (-0300) Subject: [3.8] [doc] Document logging.basicConfig default format (GH-23710) (GH-24847) X-Git-Tag: v3.8.9~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d42a332a98a31d4db5ea5f980151039f48944427;p=thirdparty%2FPython%2Fcpython.git [3.8] [doc] Document logging.basicConfig default format (GH-23710) (GH-24847) (cherry picked from commit 35cacce5253c50eed0d285836f9ca0ac568991ca) --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 5bbbd443a988..0a6b0d290fdf 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`. |