From 50acf799536c4b176d5fc4063795a3d5deca9442 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 23 Jul 2008 17:04:05 -0700 Subject: [PATCH] vlog: Reduce syslog level of VLL_EMER messages to LOG_ALERT. The LOG_EMERG log level sprayed these messages across every xterm and console in the system, which was excessive. --- lib/vlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vlog.c b/lib/vlog.c index 9641bd95..1cc24f85 100644 --- a/lib/vlog.c +++ b/lib/vlog.c @@ -345,7 +345,7 @@ vlog(enum vlog_module module, enum vlog_level level, const char *message, ...) if (log_syslog) { static const int syslog_levels[VLL_N_LEVELS] = { - [VLL_EMER] = LOG_EMERG, + [VLL_EMER] = LOG_ALERT, [VLL_ERR] = LOG_ERR, [VLL_WARN] = LOG_WARNING, [VLL_DBG] = LOG_DEBUG, -- 2.30.2