Browse Source

adjust log level

pull/5409/head
chrislu 9 months ago
parent
commit
26e24db721
  1. 2
      weed/util/log_buffer/log_buffer.go

2
weed/util/log_buffer/log_buffer.go

@ -166,7 +166,7 @@ func (logBuffer *LogBuffer) loopInterval() {
toFlush := logBuffer.copyToFlush()
logBuffer.Unlock()
if toFlush != nil {
glog.V(0).Infof("%s flush [%v, %v] size %d", logBuffer.name, toFlush.startTime, toFlush.stopTime, len(toFlush.data.Bytes()))
glog.V(4).Infof("%s flush [%v, %v] size %d", logBuffer.name, toFlush.startTime, toFlush.stopTime, len(toFlush.data.Bytes()))
logBuffer.flushChan <- toFlush
} else {
// glog.V(0).Infof("%s no flush", m.name)

Loading…
Cancel
Save