Closed Noctune closed 4 months ago
I am suffering from the same problem. Is not updated when log file is renewed.
You can update and try it. Not sure if checking size is enough https://github.com/krasa/GrepConsole/blob/b5cab50ced1fe580d6db7ddb16b83d3edbcb9e74/src/main/java/krasa/grepconsole/tail/MyBaseOutputReader.java#L136
Thank you for this quick fix! It works in most the cases, so this solution is quite acceptable.
The only thing is that it keeps the portion of the log before the truncation. Is it possible to clear it from the console, and keep only the lines coming after the truncation?
Thanks
Done :-)
Brilliant! Thanks
Describe the bug truncate a log file, no display in console.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots![image](https://user-images.githubusercontent.com/60099362/220574239-384f2509-c6f5-4855-8cca-b213f076c50e.png)
Environment :
Additional context