From 754a5fb640237a7b6c89bacf7c1c304273b0fd6b Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 25 May 2007 07:05:59 +0000 Subject: [PATCH] Updated docstring for SysLogHandler (#1720726). --- Lib/logging/handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index 3c54c8f6fb8..9807f1312d2 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)