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:
Alexander Motin 2012-11-05 23:20:48 +00:00
parent 909c4d7ec0
commit 23ec103f3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242634

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,