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

Add FileStat() #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add FileStat() #92

wants to merge 1 commit into from

Conversation

takebayashi
Copy link

Add FileStat(), that may be useful for implementing external log-rotation managers.

@Nino-K
Copy link
Contributor

Nino-K commented May 30, 2016

@takebayashi Thanks for your contribution, could you elaborate a bit on what is this trying to solve or perhaps how should it be used?

Thanks,
Nino

@takebayashi
Copy link
Author

@Nino-K I'm trying to implement the persistence of the status/position of tailing to resume tailing after restart. File stats info (such as inode value) are needed to detect log-rotations while the tailing process is not running.

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.

2 participants