Skip to content

Add FileStat()#92

Open
takebayashi wants to merge 1 commit intohpcloud:masterfrom
takebayashi:filestat
Open

Add FileStat()#92
takebayashi wants to merge 1 commit intohpcloud:masterfrom
takebayashi:filestat

Conversation

@takebayashi
Copy link
Copy Markdown

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

@Nino-K
Copy link
Copy Markdown
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
Copy Markdown
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