projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c89af
)
vlog: Reduce syslog level of VLL_EMER messages to LOG_ALERT.
author
Ben Pfaff
<blp@nicira.com>
Thu, 24 Jul 2008 00:04:05 +0000
(17:04 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 24 Jul 2008 00:04:24 +0000
(17:04 -0700)
The LOG_EMERG log level sprayed these messages across every xterm and
console in the system, which was excessive.
lib/vlog.c
patch
|
blob
|
history
diff --git
a/lib/vlog.c
b/lib/vlog.c
index 9641bd959f1e5daf7eb697801cbcfbe93cd2f977..1cc24f85542a5bc9b39e03acb154919b0d3d799c 100644
(file)
--- 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,