summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2007-05-25 07:21:19 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2007-05-25 07:21:19 (GMT)
commit425c614b6ec140fa94afbe8acedd899e1cac95d3 (patch)
tree15f008c0876a0d4772ec00307e6a17243388e34f /Doc/lib
parent35cff5ff75390edbe02eddffe85da1fca7ca677e (diff)
downloadcpython-425c614b6ec140fa94afbe8acedd899e1cac95d3.zip
cpython-425c614b6ec140fa94afbe8acedd899e1cac95d3.tar.gz
cpython-425c614b6ec140fa94afbe8acedd899e1cac95d3.tar.bz2
Updated documentation for SysLogHandler (#1720726).
Diffstat (limited to 'Doc/lib')
-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 48fd425..510a844 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -1175,8 +1175,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}{}