summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-12-06 11:22:24 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-12-06 11:22:24 (GMT)
commitb1a92a4c89685204f6970adfbfd758033a5416cd (patch)
tree134c2de6d25188f96a4354d338f23e139dda2fb4 /Doc/howto
parentdd799d2e321d70db2c31403b5c919266575e12d1 (diff)
downloadcpython-b1a92a4c89685204f6970adfbfd758033a5416cd.zip
cpython-b1a92a4c89685204f6970adfbfd758033a5416cd.tar.gz
cpython-b1a92a4c89685204f6970adfbfd758033a5416cd.tar.bz2
Added minor clarification in logging HOWTO.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/logging.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index 165486a..6cd0677 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -122,7 +122,8 @@ Logging to a file
^^^^^^^^^^^^^^^^^
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)