From d58095764bc8f52b042b01982c40f054249c2853 Mon Sep 17 00:00:00 2001 From: postmannen Date: Sun, 1 Jan 2023 20:31:54 +0100 Subject: [PATCH] printing ID working ringbuffer --- ringbuffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ringbuffer.go b/ringbuffer.go index a2e0251..25508d8 100644 --- a/ringbuffer.go +++ b/ringbuffer.go @@ -326,7 +326,7 @@ func (r *ringBuffer) processBufferMessages(ctx context.Context, outCh chan samDB case <-v.SAM.done: case <-ticker.C: log.Printf("----------------------------------------------\n") - log.Printf("Error: ringBuffer message %v seems to be stuck, did not receive done signal from publishAMessage process, exited on ticker\n", v.SAM.Subject) + log.Printf("Error: ringBuffer message id: %v, subject: %v seems to be stuck, did not receive done signal from publishAMessage process, exited on ticker\n", v.SAM.ID, v.SAM.Subject) log.Printf("----------------------------------------------\n") } // log.Printf("info: processBufferMessages: done with message, deleting key from bucket, %v\n", v.ID)