There was an error while loading. Please reload this page.
1 parent ecc9fae commit 03b0e7cCopy full SHA for 03b0e7c
1 file changed
plugins/inputs/logfile/tailersrc.go
@@ -244,11 +244,11 @@ func (ts *tailerSrc) runTail() {
244
continue
245
}
246
247
- ts.tailer.ReleaseLine(line)
248
ts.publishEvent(msgBuf, fo)
249
msgBuf.Reset()
250
msgBuf.WriteString(init)
251
fo.ShiftInt64(line.Offset)
+ ts.tailer.ReleaseLine(line)
252
cnt = 0
253
case <-t.C:
254
if msgBuf.Len() > 0 {
0 commit comments