From 8c6ec81ac8346cad6840fcbe5d058bfd232b6a49 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 25 May 2007 07:27:30 +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 4ef896ed5d6..39a4eb961a7 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)