summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-12-24 12:03:48 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-12-24 12:03:48 (GMT)
commit1397ce1821d4888a3637bd9490cc9c930f3c7b98 (patch)
tree16cb2b7b18b86a8ce559aef3bc5fdadfa86c929c /Doc
parentefbcb1b038080ccb49851d0c88da740525f2f022 (diff)
downloadcpython-1397ce1821d4888a3637bd9490cc9c930f3c7b98.zip
cpython-1397ce1821d4888a3637bd9490cc9c930f3c7b98.tar.gz
cpython-1397ce1821d4888a3637bd9490cc9c930f3c7b98.tar.bz2
Logging documentation updates.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/howto/logging-cookbook.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
index 1e6aa6f..7bf7273 100644
--- a/Doc/howto/logging-cookbook.rst
+++ b/Doc/howto/logging-cookbook.rst
@@ -13,14 +13,13 @@ This page contains a number of recipes related to logging, which have been found
Using logging in multiple modules
---------------------------------
-It was mentioned above that multiple calls to
-``logging.getLogger('someLogger')`` return a reference to the same logger
-object. This is true not only within the same module, but also across modules
-as long as it is in the same Python interpreter process. It is true for
-references to the same object; additionally, application code can define and
-configure a parent logger in one module and create (but not configure) a child
-logger in a separate module, and all logger calls to the child will pass up to
-the parent. Here is a main module::
+Multiple calls to ``logging.getLogger('someLogger')`` return a reference to the
+same logger object. This is true not only within the same module, but also
+across modules as long as it is in the same Python interpreter process. It is
+true for references to the same object; additionally, application code can
+define and configure a parent logger in one module and create (but not
+configure) a child logger in a separate module, and all logger calls to the
+child will pass up to the parent. Here is a main module::
import logging
import auxiliary_module