From: Vinay Sajip Date: Fri, 25 May 2007 07:05:59 +0000 (+0000) Subject: Updated docstring for SysLogHandler (#1720726). X-Git-Tag: v2.6a1~1691 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=754a5fb640237a7b6c89bacf7c1c304273b0fd6b;p=python Updated docstring for SysLogHandler (#1720726). --- diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index 3c54c8f6fb..9807f1312d 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -625,7 +625,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)