From: Vinay Sajip Date: Fri, 25 May 2007 07:27:30 +0000 (+0000) Subject: Updated docstring for SysLogHandler (#1720726). X-Git-Tag: v2.5.2c1~285 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c6ec81ac8346cad6840fcbe5d058bfd232b6a49;p=thirdparty%2FPython%2Fcpython.git Updated docstring for SysLogHandler (#1720726). --- diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index 4ef896ed5d6c..39a4eb961a76 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -578,7 +578,8 @@ class SysLogHandler(logging.Handler): """ Initialize a handler. - If address is specified as a string, UNIX socket is used. + If address is specified as a string, a UNIX socket is used. To log to a + local syslogd, "SysLogHandler(address="/dev/log")" can be used. If facility is not specified, LOG_USER is used. """ logging.Handler.__init__(self)