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.
This commit is contained in:
mav 2012-11-05 23:20:48 +00:00
parent ad91574683
commit 7eac5be108

View File

@ -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,