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:
Ed Schouten 2016-12-23 15:57:46 +01:00
parent 4adf7fa96c
commit b0d15eaac6
1 changed files with 2 additions and 2 deletions

View File

@ -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()