mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-21 01:37:56 +08:00
logging changes to debug
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func TestNewLogBufferFirstBuffer(t *testing.T) {
|
||||
lb := NewLogBuffer(time.Minute, func(startTime, stopTime time.Time, buf []byte) {
|
||||
lb := NewLogBuffer("test", time.Minute, func(startTime, stopTime time.Time, buf []byte) {
|
||||
|
||||
}, func() {
|
||||
|
||||
@@ -27,7 +27,7 @@ func TestNewLogBufferFirstBuffer(t *testing.T) {
|
||||
}
|
||||
|
||||
receivedmessageCount := 0
|
||||
lb.LoopProcessLogData(startTime, func() bool {
|
||||
lb.LoopProcessLogData("test", startTime, func() bool {
|
||||
// stop if no more messages
|
||||
return false
|
||||
}, func(logEntry *filer_pb.LogEntry) error {
|
||||
|
Reference in New Issue
Block a user