[Python-checkins] r55579 - python/branches/release25-maint/Doc/lib/liblogging.tex

vinay.sajip python-checkins at python.org
Fri May 25 09:21:20 CEST 2007


Author: vinay.sajip
Date: Fri May 25 09:21:19 2007
New Revision: 55579
Modified:
 python/branches/release25-maint/Doc/lib/liblogging.tex
Log:
Updated documentation for SysLogHandler (#1720726).
Modified: python/branches/release25-maint/Doc/lib/liblogging.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/liblogging.tex	(original)
+++ python/branches/release25-maint/Doc/lib/liblogging.tex	Fri May 25 09:21:19 2007
@@ -1175,8 +1175,11 @@
 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}{}


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /