From: Ben Pfaff Date: Thu, 24 Jul 2008 00:04:05 +0000 (-0700) Subject: vlog: Reduce syslog level of VLL_EMER messages to LOG_ALERT. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50acf799536c4b176d5fc4063795a3d5deca9442;p=openvswitch 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. --- 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,