summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2007-05-25 07:06:55 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2007-05-25 07:06:55 (GMT)
commitcf99b65932a4bfc41dc132afbd5d0b804634429d (patch)
tree367eba99edb2a41321ba0c95eb1c497158eef334
parent754a5fb640237a7b6c89bacf7c1c304273b0fd6b (diff)
downloadcpython-cf99b65932a4bfc41dc132afbd5d0b804634429d.zip
cpython-cf99b65932a4bfc41dc132afbd5d0b804634429d.tar.gz
cpython-cf99b65932a4bfc41dc132afbd5d0b804634429d.tar.bz2
Updated documentation for SysLogHandler (#1720726).
-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 5783cbf..c5c3e4e 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -1208,8 +1208,11 @@ Returns a new instance of the \class{SysLogHandler} class intended to
communicate with a remote \UNIX{} machine whose address is given by
\var{address} in the form of a \code{(\var{host}, \var{port})}
tuple. If \var{address} is not specified, \code{('localhost', 514)} is
-used. The address is used to open a UDP socket. If \var{facility} is
-not specified, \constant{LOG_USER} is used.
+used. The address is used to open a UDP socket. An alternative to providing
+a \code{(\var{host}, \var{port})} tuple is providing an address as a string,
+for example "/dev/log". In this case, a Unix domain socket is used to send
+the message to the syslog. If \var{facility} is not specified,
+\constant{LOG_USER} is used.
\end{classdesc}
\begin{methoddesc}{close}{}