Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
184 stars 38 forks source link

Search function does not reset hit counter when files have been re-created #288

Closed BenKenobi85 closed 3 years ago

BenKenobi85 commented 3 years ago

While working with a merged data source consiting of several logfiles, I've encountered a situation where the counter inside the search text box does not reset to zero in case the correspoding file has been re-created on the disk.

image

Let's assume the merged data source consists of several files, and as shown in picture, we for example search for every occurence of the term 'seconds' which in this case has 105 hits. Restarting the application under test re-creates all log file being part of the merged data source, by deleting and re-creating the files. As the files are empty upon start we expect the search box the reset the hit count to zero, which was not the case in my test.

Kittyfisto commented 1 year ago

Fixed with Tailviewer v1.0.0-RC1.