syslog priority

The number at the start of a syslog message that encodes both its facility and its severity: facility times eight plus severity.

In more detail

Divide the priority by eight: the quotient is the facility and the remainder is the severity. For example <38> is 4 × 8 + 6, which is facility auth and severity info, typical of an SSH login message.

Example

<4> decodes to facility 0 (kern) and severity 4 (warning), such as a firewall drop.

Related terms

Taught in

References