Skip to content

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