We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tailer, err := tail.TailFile(podLogPath, tail.Config{ ReOpen: true, MustExist: true, Follow: true, Poll: true, Logger: tail.DiscardingLogger, RateLimiter: lp.limiter, Location: &tail.SeekInfo{0, 2}, })
When log file being writed very fast , and rotated , will lose logs . what I'm missed ?
The text was updated successfully, but these errors were encountered:
I'm not sure about the internals of this library, but... I think this lightening talk by Bryan Cantrill is relevant.
Sorry, something went wrong.
Change POLL_DURATION from 250 * time.Millisecond to 2*time.Millisecond helpful.
250 * time.Millisecond
2*time.Millisecond
No branches or pull requests
When log file being writed very fast , and rotated , will lose logs .
what I'm missed ?
The text was updated successfully, but these errors were encountered: