From: Vinay Sajip Date: Fri, 25 May 2007 07:21:19 +0000 (+0000) Subject: Updated documentation for SysLogHandler (#1720726). X-Git-Tag: v2.5.2c1~286 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=425c614b6ec140fa94afbe8acedd899e1cac95d3;p=python Updated documentation for SysLogHandler (#1720726). --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index 48fd425fbe..510a844c94 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}{}