fixing syslog priority computation