From 03f18e43df6379e342b48a900db9ee84fa460c84 Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 21 Mar 2024 23:30:49 -0700 Subject: [PATCH] clean up logs --- weed/util/log_buffer/log_buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/util/log_buffer/log_buffer.go b/weed/util/log_buffer/log_buffer.go index ce27c84b3..fa956317e 100644 --- a/weed/util/log_buffer/log_buffer.go +++ b/weed/util/log_buffer/log_buffer.go @@ -242,7 +242,7 @@ func (logBuffer *LogBuffer) ReadFromBuffer(lastReadPosition MessagePosition) (bu } } if tsMemory.IsZero() { // case 2.2 - println("2.2 no data") + // println("2.2 no data") return nil, -2, nil } else if lastReadPosition.Before(tsMemory) && lastReadPosition.BatchIndex+1 < tsBatchIndex { // case 2.3 if !logBuffer.lastFlushDataTime.IsZero() {