summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2007-05-25 07:05:59 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2007-05-25 07:05:59 (GMT)
commit754a5fb640237a7b6c89bacf7c1c304273b0fd6b (patch)
tree31a8c23b8665556fe37dee2b93b0b7c84aa1602e /Lib/logging
parent38917f56fe078197966e345eb3bbbc233c789da5 (diff)
downloadcpython-754a5fb640237a7b6c89bacf7c1c304273b0fd6b.zip
cpython-754a5fb640237a7b6c89bacf7c1c304273b0fd6b.tar.gz
cpython-754a5fb640237a7b6c89bacf7c1c304273b0fd6b.tar.bz2
Updated docstring for SysLogHandler (#1720726).
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/handlers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
index 3c54c8f..9807f13 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)