mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Updated docstring for SysLogHandler (#1720726).
This commit is contained in:
parent
425c614b6e
commit
8c6ec81ac8
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue