From 3e6c09af242a35e1a81fd8dc166ffa46c2997e19 Mon Sep 17 00:00:00 2001 From: benjamin <ben@elixxir.io> Date: Mon, 3 Oct 2022 11:27:34 -0700 Subject: [PATCH] added a log when "replay channel" is called --- channels/manager.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/manager.go b/channels/manager.go index 6a48347e1..cfede7fdf 100644 --- a/channels/manager.go +++ b/channels/manager.go @@ -15,6 +15,7 @@ import ( "encoding/base64" "fmt" "github.com/pkg/errors" + jww "github.com/spf13/jwalterweatherman" "gitlab.com/elixxir/client/broadcast" "gitlab.com/elixxir/client/cmix" "gitlab.com/elixxir/client/cmix/message" @@ -199,6 +200,7 @@ func (m *manager) GetChannel(chID *id.ID) (*cryptoBroadcast.Channel, error) { // underlying state tracking for message pickup for the channel, causing all // messages to be re-retrieved from the network func (m *manager) ReplayChannel(chID *id.ID) error { + jww.INFO.Printf("Replaying messages on channel %s", chID) m.mux.RLock() defer m.mux.RUnlock() -- GitLab