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:
parent
909c4d7ec0
commit
23ec103f3f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user