[Python-checkins] r87393 - python/branches/py3k/Doc/library/logging.rst

vinay.sajip python-checkins at python.org
Sun Dec 19 07:02:31 CET 2010


Author: vinay.sajip
Date: Sun Dec 19 07:02:31 2010
New Revision: 87393

Log:
Logging documentation update.

Modified:
   python/branches/py3k/Doc/library/logging.rst

Modified: python/branches/py3k/Doc/library/logging.rst
==============================================================================
--- python/branches/py3k/Doc/library/logging.rst	(original)
+++ python/branches/py3k/Doc/library/logging.rst	Sun Dec 19 07:02:31 2010
@@ -564,8 +564,9 @@
 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
 
@@ -704,8 +705,8 @@
         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`.
@@ -3761,6 +3762,8 @@
    (i.e. those in effect before `captureWarnings(True)` was called).
 
 
+.. _config-ref:
+
 Configuration
 -------------
 


More information about the Python-checkins mailing list