diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-12-06 11:23:08 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-12-06 11:23:08 (GMT) |
commit | 1b8b868b84112ce6aed7e07f664b5f54a0c8f9a9 (patch) | |
tree | 26992a5d8a5325c775fc4c3b5532b8052237185a /Doc/howto | |
parent | 6e73ff1a31a430b00d9e5aa537dc08cbbe89bd2d (diff) | |
parent | b1a92a4c89685204f6970adfbfd758033a5416cd (diff) | |
download | cpython-1b8b868b84112ce6aed7e07f664b5f54a0c8f9a9.zip cpython-1b8b868b84112ce6aed7e07f664b5f54a0c8f9a9.tar.gz cpython-1b8b868b84112ce6aed7e07f664b5f54a0c8f9a9.tar.bz2 |
Merged minor documentation update from 3.3.
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/logging.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index c7a802a..a5e24b0 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) |