From: Vinay Sajip Date: Fri, 6 Dec 2013 11:22:24 +0000 (+0000) Subject: Added minor clarification in logging HOWTO. X-Git-Tag: v3.4.0b2~325^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1a92a4c89685204f6970adfbfd758033a5416cd;p=thirdparty%2FPython%2Fcpython.git Added minor clarification in logging HOWTO. --- diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index 165486aa3fed..6cd067786311 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)