Skip to content
New issue

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

Update tail from hpcloud/tail to nxadm/tail #79

Merged
merged 2 commits into from
Aug 17, 2021

Conversation

piotr1212
Copy link
Contributor

Currently it does not always detect rotated logfiles. There are many issues in hpcloud/tail which are not addressed, hpcloud/tail looks dead. nxadm/tail is a fork which solved many known issues.

Fixes: #78

Currently it does not always detect rotated logfiles. There are many issues in hpcloud/tail which are not addressed, hpcloud/tail looks dead. nxadm/tail is a fork which solved many known issues.
@chasedputnam
Copy link

chasedputnam commented Aug 16, 2021

This is a critical issue with the continued use of the abandoned hpcloud version of tail. The drop-in replacement of nxadm/tail does fix the issues present in the hpcloud version.

@BartVerc @tommie - Can someone please take a look at this and merge? This indeed does fix the issue of detecting and continuing to read rotated log files.

Copy link
Contributor

@tommie tommie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have powers here, but I approve in principle.

go.mod Outdated Show resolved Hide resolved
@chasedputnam
Copy link

@tommie - Cheers mate!

@BartVerc @Ivaylo-Korakov @flyhard - I see you each have merged commits over the past year or so. Could one of you please have a look at this PR? Cheers!!!

And thank you for all the work developing and maintaining this extremely useful exporter for us all to use!

@BartVerc BartVerc merged commit 35f158a into kumina:master Aug 17, 2021
@BartVerc
Copy link
Member

Thanks for the fix! And sorry for the late response!

@piotr1212 piotr1212 deleted the PP-tail branch August 17, 2021 09:28
Copy link
Contributor

@flyhard flyhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

chas0amx pushed a commit to chas0amx/postfix_exporter that referenced this pull request Jun 16, 2024
Update tail from hpcloud/tail to nxadm/tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does sometimes not pick up rotated logs
5 participants