[Python-checkins] [3.8] [doc] Document logging.basicConfig default format (GH-23710) (GH-24847)
vsajip
webhook-mailer at python.org
Mon Mar 15 05:43:39 EDT 2021
https://github.com/python/cpython/commit/d42a332a98a31d4db5ea5f980151039f48944427
commit: d42a332a98a31d4db5ea5f980151039f48944427
branch: 3.8
author: Andre Delfino <adelfino at gmail.com>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2021-03-15T09:43:29Z
summary:
[3.8] [doc] Document logging.basicConfig default format (GH-23710) (GH-24847)
(cherry picked from commit 35cacce5253c50eed0d285836f9ca0ac568991ca)
files:
M Doc/library/logging.rst
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 5bbbd443a9887..0a6b0d290fdfa 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`. |
More information about the Python-checkins
mailing list