Skip to content

Commit

Permalink
clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Mar 22, 2024
1 parent 407a52f commit 5c0fcae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weed/util/log_buffer/log_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5c0fcae

Please sign in to comment.