Fix syslog priority check.

N.B.: Smaller priority number means higher priority.
Fix varargs in logging to syslog.

I.e. use vsyslog to pass the va_list to.