fix syslog_pri by reordering