Reduce the severity of these messages.
They get printed all the time, as there are some tokens in the /proc file that we simply don't support. It's better to keep these as debugging messages, which may come in useful if new tags start to appear.
This commit is contained in:
parent
4adf7fa96c
commit
b0d15eaac6
|
@ -203,10 +203,10 @@ func (c *drbdCollector) Update(ch chan<- prometheus.Metric) (err error) {
|
|||
drbdConnected, prometheus.GaugeValue,
|
||||
connected, device)
|
||||
} else {
|
||||
log.Infof("Don't know how to process key-value pair [%s: %q]", kv[0], kv[1])
|
||||
log.Debugf("Don't know how to process key-value pair [%s: %q]", kv[0], kv[1])
|
||||
}
|
||||
} else {
|
||||
log.Infof("Don't know how to process string %q", field)
|
||||
log.Debugf("Don't know how to process string %q", field)
|
||||
}
|
||||
}
|
||||
return scanner.Err()
|
||||
|
|
Loading…
Reference in New Issue