Expand description

syslog facility & level definitions.

Facility and Level replicate the names used in <syslog.h>. The are (mostly) identical in both RFC 3164 & 5424, and so tracing-rfc-5424 models both with the same enumeration.

Enums

  • Both RFCs 5424 & 3164 define twenty-four “facilities” for messages. The enumeration values duplicate the constants defined in <syslog.h>, albeit multiplied by 8 for convenience in forming syslog message headers (which again mirrors the #defines in <syslog.h>).
  • Both RFCs 5424 & 3164 define eight severity levels for messages. The enumeration values duplicate the constants documented as per the syslog() manual page & defined in <syslog.h>.