I am having to parse the Facility and Severity of syslog messages in Python. These values come with each message as a single integer. The severity of the event is 0-7, spe
SEV = PRI & 7 FAC = PRI >> 3
Like that.