mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
logging: Added LOG_FTP for SysLogHandler and updated documentation.
This commit is contained in:
parent
f8d1d0f7fb
commit
b0623d64a8
3 changed files with 76 additions and 1 deletions
|
@ -638,7 +638,8 @@ class SysLogHandler(logging.Handler):
|
|||
LOG_NEWS = 7 # network news subsystem
|
||||
LOG_UUCP = 8 # UUCP subsystem
|
||||
LOG_CRON = 9 # clock daemon
|
||||
LOG_AUTHPRIV = 10 # security/authorization messages (private)
|
||||
LOG_AUTHPRIV = 10 # security/authorization messages (private)
|
||||
LOG_FTP = 11 # FTP daemon
|
||||
|
||||
# other codes through 15 reserved for system use
|
||||
LOG_LOCAL0 = 16 # reserved for local use
|
||||
|
@ -670,6 +671,7 @@ class SysLogHandler(logging.Handler):
|
|||
"authpriv": LOG_AUTHPRIV,
|
||||
"cron": LOG_CRON,
|
||||
"daemon": LOG_DAEMON,
|
||||
"ftp": LOG_FTP,
|
||||
"kern": LOG_KERN,
|
||||
"lpr": LOG_LPR,
|
||||
"mail": LOG_MAIL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue