You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2022/08/10 14:20:32 UTC
[plc4x] 01/03: fix(plc4go/cbus): decreased log level of static helper
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 7d98c6dc4b1e1a149bb71e3cae84046a831560a5
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed Aug 10 15:29:06 2022 +0200
fix(plc4go/cbus): decreased log level of static helper
---
plc4go/protocols/cbus/readwrite/model/StaticHelper.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plc4go/protocols/cbus/readwrite/model/StaticHelper.go b/plc4go/protocols/cbus/readwrite/model/StaticHelper.go
index e0ffdb10d..48341eb7d 100644
--- a/plc4go/protocols/cbus/readwrite/model/StaticHelper.go
+++ b/plc4go/protocols/cbus/readwrite/model/StaticHelper.go
@@ -141,7 +141,7 @@ func readBytesFromHex(logicalName string, readBuffer utils.ReadBuffer, srchk boo
readBuffer.Reset(readBuffer.GetPos() - 2)
rawBytes = rawBytes[:len(rawBytes)-1]
}
- log.Debug().Msgf("%d bytes decoded", n)
+ log.Trace().Msgf("%d bytes decoded", n)
return rawBytes, nil
}
@@ -177,7 +177,7 @@ func writeToHex(logicalName string, writeBuffer utils.WriteBuffer, bytesToWrite
// usually you use hex.Encode but we want the encoding in uppercase
//n := hex.Encode(hexBytes, wbbb.GetBytes())
n := encodeHexUpperCase(hexBytes, bytesToWrite)
- log.Debug().Msgf("%d bytes encoded", n)
+ log.Trace().Msgf("%d bytes encoded", n)
return writeBuffer.WriteByteArray(logicalName, hexBytes)
}