From b82c5c1a3ace7af57b9f340e3ac742adfc2e136d Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Thu, 30 May 2024 15:46:40 -0400 Subject: [PATCH] fix: logs --- cmd/storemsgcounter/execute.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/storemsgcounter/execute.go b/cmd/storemsgcounter/execute.go index 94c8808..78d846f 100644 --- a/cmd/storemsgcounter/execute.go +++ b/cmd/storemsgcounter/execute.go @@ -292,7 +292,7 @@ func retrieveHistory(ctx context.Context, runId string, storenodes []peer.AddrIn queryLbl: for i := 0; i < maxAttempts; i++ { - logger.Info("retrieving message history for topic!", zap.Stringer("storenode", node), zap.Int64("from", startTime.UnixNano()), zap.Int64("to", endTime.UnixNano()), zap.Int("attempt", i)) + logger.Info("retrieving message history for topic!", zap.Stringer("storenode", node.ID), zap.Int64("startTime", startTime.UnixNano()), zap.Int64("endTime", endTime.UnixNano()), zap.Int("attempt", i)) tCtx, cancel := context.WithTimeout(ctx, 1*time.Minute) result, err = wakuNode.Store().Query(tCtx, store.FilterCriteria{