Message359746
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... |
|
Date |
User |
Action |
Args |
2020-01-10 17:54:35 | tryanunderwood@gmail.com | set | recipients:
+ tryanunderwood@gmail.com |
2020-01-10 17:54:35 | tryanunderwood@gmail.com | set | messageid: <1578678875.77.0.925015529037.issue39292@roundup.psfhosted.org> |
2020-01-10 17:54:35 | tryanunderwood@gmail.com | link | issue39292 messages |
2020-01-10 17:54:35 | tryanunderwood@gmail.com | create | |
|