[Python-checkins] Fix misindented yaml in logging how to example (GH-8604)

Miss Islington (bot) webhook-mailer at python.org
Sun Aug 12 20:04:47 EDT 2018


https://github.com/python/cpython/commit/393151e241e0c2b1826e3aefac0beb42e04e6ea8
commit: 393151e241e0c2b1826e3aefac0beb42e04e6ea8
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-08-12T17:04:44-07:00
summary:

Fix misindented yaml in logging how to example (GH-8604)

(cherry picked from commit 10b59f1b019cd00c940dd7f4a74c4f667a20f25f)

Co-authored-by: Rémy HUBSCHER <hubscher.remy at gmail.com>

files:
M Doc/howto/logging.rst

diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index 47b5c680c424..6f47baeee2f5 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -750,9 +750,9 @@ the new dictionary-based approach:
         level: DEBUG
         handlers: [console]
         propagate: no
-    root:
-      level: DEBUG
-      handlers: [console]
+      root:
+        level: DEBUG
+        handlers: [console]
 
 For more information about logging using a dictionary, see
 :ref:`logging-config-api`.



More information about the Python-checkins mailing list