$OpenBSD: patch-main_logger_c,v 1.2 2015/10/12 22:07:29 sthen Exp $
--- main/logger.c.orig	Sun Oct 11 21:01:27 2015
+++ main/logger.c	Sun Oct 11 21:01:38 2015
@@ -1322,7 +1322,7 @@ static void ast_log_vsyslog(struct logmsg *msg, int fa
 		return;
 	}
 
-	syslog_level = LOG_MAKEPRI(facility, syslog_level);
+	syslog_level = (facility | syslog_level);
 
 	snprintf(buf, sizeof(buf), "%s[%d]%s: %s:%d in %s: %s",
 		 levels[msg->level], msg->lwp, call_identifier_str, msg->file, msg->line, msg->function, msg->message);
