This is an automated email from the ASF dual-hosted git repository. hanahmily pushed a commit to branch chore/log-level in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit c914a06f15b42c4eea644f6f7be2af90f0b7bee8 Author: Gao Hongtao <[email protected]> AuthorDate: Mon Nov 24 01:54:15 2025 +0000 Refactor logging in localIndexCallback to use debug level for document insertion messages --- banyand/stream/write_index.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/banyand/stream/write_index.go b/banyand/stream/write_index.go index b6fa708f..0d4e3200 100644 --- a/banyand/stream/write_index.go +++ b/banyand/stream/write_index.go @@ -191,11 +191,12 @@ func (l *localIndexCallback) Rev(_ context.Context, message bus.Message) (resp b return } - l.l.Info(). - Str("group", group). - Uint32("shardID", shardID). - Int("documentCount", len(documents)). - Msg("successfully inserted documents to tsTable index") + if dl := l.l.Debug(); dl.Enabled() { + dl.Str("group", group). + Uint32("shardID", shardID). + Int("documentCount", len(documents)). + Msg("successfully inserted documents to tsTable index") + } return }
