Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

clean up logs

chrislu5c0fcae039f8
diff --git a/weed/util/log_buffer/log_read.go b/weed/util/log_buffer/log_read.go
index 2a0b9743be..c3dd0f288e 100644
--- a/weed/util/log_buffer/log_read.go
+++ b/weed/util/log_buffer/log_read.go
@@ -40,7 +40,7 @@ func (logBuffer *LogBuffer) LoopProcessLogData(readerName string, startPosition
if bytesBuf != nil {
logBuffer.ReleaseMemory(bytesBuf)
}
- println("LoopProcessLogData", readerName, "sent messages total", entryCounter)
+ // println("LoopProcessLogData", readerName, "sent messages total", entryCounter)
}()
for {
@@ -105,7 +105,7 @@ func (logBuffer *LogBuffer) LoopProcessLogData(readerName string, startPosition
}
if stopTsNs != 0 && logEntry.TsNs > stopTsNs {
isDone = true
- println("stopTsNs", stopTsNs, "logEntry.TsNs", logEntry.TsNs)
+ // println("stopTsNs", stopTsNs, "logEntry.TsNs", logEntry.TsNs)
return
}
lastReadPosition = NewMessagePosition(logEntry.TsNs, batchIndex)