aboutsummaryrefslogtreecommitdiff
path: root/weed/util/log_buffer
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-03-21 23:24:18 -0700
committerchrislu <chris.lu@gmail.com>2024-03-21 23:24:18 -0700
commit5c0fcae039f856aa4bbc4b21ffc0910b20254444 (patch)
treea6c4cb743fad25872239182e1c4c5646207f3125 /weed/util/log_buffer
parent407a52fc93125be85c23ef80eb73ae03c95b49ad (diff)
downloadseaweedfs-5c0fcae039f856aa4bbc4b21ffc0910b20254444.tar.xz
seaweedfs-5c0fcae039f856aa4bbc4b21ffc0910b20254444.zip
clean up logs
Diffstat (limited to 'weed/util/log_buffer')
-rw-r--r--weed/util/log_buffer/log_read.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/util/log_buffer/log_read.go b/weed/util/log_buffer/log_read.go
index 2a0b9743b..c3dd0f288 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)