Skip to content

The message in the chan is incomplete. #55

@GitHub007Dra

Description

@GitHub007Dra

Describe the bug
for example , if a log file is "abcd"
sometimes it can only collect "abc"
this is my code

tails, err := tail.TailFile(fileName, tail.Config{ ReOpen: true, Follow: true, Location: &tail.SeekInfo{Offset: 0, Whence: flag.Whence}, MustExist: false, Poll: false, })

Expected behaviour

To Reproduce
sry ,I have used this to collect over a million log entries, and only a few hundred of them are difficult to reproduce.

System information

  • tail version [v1.4.8]
  • OS: centos
  • Arch: [e.g. arm64]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions