Commits

Vinay Sajip committed e58fa98

Logging documentation update.

  • Participants
  • Parent commits 4e2b860

Comments (0)

Files changed (1)

Doc/library/logging.rst

 3. Creating a dictionary of configuration information and passing it
    to the :func:`dictConfig` function.
 
-The following example configures a very simple logger, a console
-handler, and a simple formatter using Python code::
+For the reference documentation on the last two options, see :ref:`config-ref`.
+The following example configures a very simple logger, a console handler, and
+a simple formatter using Python code::
 
     import logging
 
         handlers: [console]
         propagate: no
     root:
-        level: DEBUG
-        handlers: [console]
+      level: DEBUG
+      handlers: [console]
 
 For more information about logging using a dictionary, see
 :ref:`logging-config-api`.
    (i.e. those in effect before `captureWarnings(True)` was called).
 
 
+.. _config-ref:
+
 Configuration
 -------------