[Python-checkins] cpython (2.7): Added minor clarification in logging HOWTO.
vinay.sajip
python-checkins at python.org
Fri Dec 6 12:23:21 CET 2013
http://hg.python.org/cpython/rev/80142c15a920
changeset: 87789:80142c15a920
branch: 2.7
parent: 87784:481b30bfe496
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Fri Dec 06 11:21:15 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