[Python-checkins] r87476 - python/branches/py3k/Doc/howto/logging-cookbook.rst

vinay.sajip python-checkins at python.org
Fri Dec 24 13:03:49 CET 2010


Author: vinay.sajip
Date: Fri Dec 24 13:03:48 2010
New Revision: 87476

Log:
Logging documentation updates.

Modified:
   python/branches/py3k/Doc/howto/logging-cookbook.rst

Modified: python/branches/py3k/Doc/howto/logging-cookbook.rst
==============================================================================
--- python/branches/py3k/Doc/howto/logging-cookbook.rst	(original)
+++ python/branches/py3k/Doc/howto/logging-cookbook.rst	Fri Dec 24 13:03:48 2010
@@ -13,14 +13,13 @@
 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


More information about the Python-checkins mailing list