Another bug I have been scratching my head about. At least I know what the issue is now. As we are tailing log.txt and it hits a certain size, it suddenly rolls over to log_old.txt and leaves the program in a useless state. It's been hard to track down because the main thread and workers keep running and there is no exception. The file closes cleanly and the read loop ends and everything just continues on as if nothing had changed.
Another bug I have been scratching my head about. At least I know what the issue is now. As we are tailing
log.txt
and it hits a certain size, it suddenly rolls over tolog_old.txt
and leaves the program in a useless state. It's been hard to track down because the main thread and workers keep running and there is no exception. The file closes cleanly and the read loop ends and everything just continues on as if nothing had changed.