summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liblogging.tex
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2004-11-07 16:11:35 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2004-11-07 16:11:35 (GMT)
commitf164322fe8115abe0d20f087391e67843255f578 (patch)
treebde240e57124731f1ea2e58edf19a37fc82a41f3 /Doc/lib/liblogging.tex
parenteaaa771816ccb514cef2cceeb883fc8b8912b6ff (diff)
downloadcpython-f164322fe8115abe0d20f087391e67843255f578.zip
cpython-f164322fe8115abe0d20f087391e67843255f578.tar.gz
cpython-f164322fe8115abe0d20f087391e67843255f578.tar.bz2
Patch #1061924: add documentation for BaseRotatingHandler and correct
reference to non-existent function 'setRollover()'.
Diffstat (limited to 'Doc/lib/liblogging.tex')
-rw-r--r--Doc/lib/liblogging.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex
index 4725d58..869b5c1 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -77,6 +77,10 @@ streams (file-like objects).
\item \class{FileHandler} instances send error messages to disk
files.
+\item \class{BaseRotatingHandler} is tha base class for handlers that
+rotate log files at a certain point. It is not meant to be instantiated
+directly. Instead, use RotatingFileHandler or TimedRotatingFileHandler.
+
\item \class{RotatingFileHandler} instances send error messages to disk
files, with support for maximum log file sizes and log file rotation.
@@ -890,8 +894,7 @@ Does a rollover, as described above.
\end{methoddesc}
\begin{methoddesc}{emit}{record}
-Outputs the record to the file, catering for rollover as described
-in \method{setRollover()}.
+Outputs the record to the file, catering for rollover as described previously.
\end{methoddesc}
\subsubsection{TimedRotatingFileHandler}