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

File Locking? #127

Open
mojomojomojo opened this issue Apr 2, 2019 · 1 comment
Open

File Locking? #127

mojomojomojo opened this issue Apr 2, 2019 · 1 comment

Comments

@mojomojomojo
Copy link

When I use snaketail to monitor a log file, if I try to delete the file (via cmdline DEL), it succeeds, sort-of.
The file doesn't exactly exist

  • I can't delete it again. (ACCESS_DENIED)
  • It does show up in a DIR listing).
  • Snaketail shows me the contents.
  • When I close Snaketail, the file goes away.
  • Attempts (by my app) to write to the file in the meantime, "succeed," but that data never makes it to the file.

My expectation was that if I delete the file, Snaketail will (eventually) figure it out and show me the usual "the file doesn't exist" message, until the file is recreated.

@snakefoot
Copy link
Owner

Pull-Requests are welcome to make the file-monitor even better.

Version 1.9.6 have been released, that introduces the keyboard shortcut CTRL + R

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

No branches or pull requests

2 participants