]> granicus.if.org Git - python/commitdiff
Updated docstring for SysLogHandler (#1720726).
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 25 May 2007 07:05:59 +0000 (07:05 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 25 May 2007 07:05:59 +0000 (07:05 +0000)
Lib/logging/handlers.py

index 3c54c8f6fb86ea4a2868981fb8ea11e08a009d3a..9807f1312d28ac96f9e20fdf39032761863491ab 100644 (file)
@@ -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)