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
The following commit(s) were added to refs/heads/develop by this push:
new 5824b635eb feat(plc4go): dial down DefaultCodec logging
5824b635eb is described below
commit 5824b635ebfb1800b152e5075aa33218de870f49
Author: Sebastian Rühl <[email protected]>
AuthorDate: Thu Oct 9 09:14:19 2025 +0200
feat(plc4go): dial down DefaultCodec logging
---
plc4go/spi/default/DefaultCodec.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plc4go/spi/default/DefaultCodec.go
b/plc4go/spi/default/DefaultCodec.go
index d9aaa0f1dd..b4fc71dae8 100644
--- a/plc4go/spi/default/DefaultCodec.go
+++ b/plc4go/spi/default/DefaultCodec.go
@@ -154,7 +154,7 @@ func (m *defaultCodec) ConnectWithContext(ctx
context.Context) error {
return err
}
} else {
- m.log.Info().Msg("Transport instance already connected")
+ m.log.Debug().Msg("Transport instance already connected")
}
m.log.Debug().Msg("Message codec currently not running, starting worker
now")
@@ -213,7 +213,7 @@ func (m *defaultCodec) TimeoutExpectations(now time.Time) {
// Check if this expectation has expired.
if now.After(expectation.GetExpiration()) {
// Remove this expectation from the list.
- m.log.Info().Stringer("expectation",
expectation).Msg("timeout expectation")
+ m.log.Debug().Stringer("expectation",
expectation).Msg("timeout expectation")
// Call the error handler.
go func(expectation spi.Expectation) {
if err :=
expectation.GetHandleError()(utils.NewTimeoutError(expectation.GetExpiration().Sub(expectation.GetCreationTime())));
err != nil {
@@ -223,7 +223,7 @@ func (m *defaultCodec) TimeoutExpectations(now time.Time) {
return true
}
if err := expectation.GetContext().Err(); err != nil {
- m.log.Info().Err(err).Stringer("expectation",
expectation).Msg("expectation canceled")
+ m.log.Debug().Err(err).Stringer("expectation",
expectation).Msg("expectation canceled")
// Remove this expectation from the list.
go func(expectation spi.Expectation) {
if err := expectation.GetHandleError()(err);
err != nil {