[New-bugs-announce] [issue39292] syslog constants behind rfc
report at bugs.python.org
Fri Jan 10 12:54:35 EST 2020
New submission from Ryan <tryanunderwood at gmail.com>:
When using the SysLogHandler (https://docs.python.org/3/library/logging.handlers.html#logging.handlers.SysLogHandler) the supported facilities appear to be lagging the RFC (5454 ?), or at least what is being supported in other mainstream languages. I Specifically need LOG_AUDIT and LOG_NTP but there are a couple others. The syslog "openlog" function takes an INT but not sure how to get an INT through the python SysLogHandler because it's based on a static list of names and symbolic values.
Wikipedia (https://en.wikipedia.org/wiki/Syslog#Facility) suggests LOG_AUTH and LOG_NTP are in the RFC.
This is my first ticket here so hopefully this is the right place for it. Maybe there is a workaround or some re-education needed on my part...
components: Library (Lib)
nosy: tryanunderwood at gmail.com
title: syslog constants behind rfc
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce