From c1feb063409a656f80fd117a2f6e7316d169d1a3 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). git-svn-id: http://svn.python.org/projects/python/trunk@55575 6015fed2-1504-0410-9fe1-9d1591cc4771 --- 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 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) -- 2.11.4.GIT