From 23ec103f3f142f56ab98aba23f909287b04ab2bd Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Mon, 5 Nov 2012 23:20:48 +0000 Subject: [PATCH] Rise priority of the informational messages from LOG_INFO to LOG_NOTICE, same as used for OK status. Otherwise it looks strange when OK status is reported, while informational is not. --- share/examples/ses/srcs/sesd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/share/examples/ses/srcs/sesd.c b/share/examples/ses/srcs/sesd.c index 88627e9ad5aa..096eeae335b7 100644 --- a/share/examples/ses/srcs/sesd.c +++ b/share/examples/ses/srcs/sesd.c @@ -142,9 +142,8 @@ main(int a, char **v) "%s: Enclosure Status OK", v[dev]); } if (stat & SES_ENCSTAT_INFO) { - syslog(LOG_INFO, - "%s: Enclosure Status Has Information", - v[dev]); + syslog(LOG_NOTICE, + "%s: Enclosure Has Information", v[dev]); } if (stat & SES_ENCSTAT_NONCRITICAL) { syslog(LOG_WARNING,