From: Vinay Sajip Date: Fri, 6 Dec 2013 11:21:15 +0000 (+0000) Subject: Added minor clarification in logging HOWTO. X-Git-Tag: v2.7.8~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d919da9942290baf606fb03433d1e484d4f0f53d;p=python Added minor clarification in logging HOWTO. --- diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index 1916c47bb7..da603a37e5 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)