[Python-checkins] cpython (3.3): Added minor clarification in logging HOWTO.
vinay.sajip
python-checkins at python.org
Fri Dec 6 12:23:22 CET 2013
http://hg.python.org/cpython/rev/9a3a4d32f91e
changeset: 87790:9a3a4d32f91e
branch: 3.3
parent: 87782:90cf299dcf9b
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Fri Dec 06 11:22:24 2013 +0000
summary:
Added minor clarification in logging HOWTO.
files:
Doc/howto/logging.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -122,7 +122,8 @@
^^^^^^^^^^^^^^^^^
A very common situation is that of recording logging events in a file, so let's
-look at that next::
+look at that next. Be sure to try the following in a newly-started Python
+interpreter, and don't just continue from the session described above::
import logging
logging.basicConfig(filename='example.log',level=logging.DEBUG)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list