disable debugging code
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Wolfgang Hottgenroth 2024-11-15 11:22:35 +01:00
parent 23962cdebc
commit 418b44289d
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -37,7 +37,7 @@ func New(id string, config config.HandlerConfigT) handler.Handler {
}
func (self *SnmpHandler) Handle(message handler.MessageT) {
log.Printf("Handler SNMP %d processing %s -> %s", self.Id, message.Topic, message.Payload)
# log.Printf("Handler SNMP %d processing %s -> %s", self.Id, message.Topic, message.Payload)
var observation observation_t
err := json.Unmarshal([]byte(message.Payload), &observation)
@ -66,7 +66,7 @@ func (self *SnmpHandler) Handle(message handler.MessageT) {
}
}
log.Printf("Prepared measurement item: %s", measurement)
# log.Printf("Prepared measurement item: %s", measurement)
self.dbh.StoreMeasurement(&measurement)
self.S()