Logfile roll-over
Marc dirix <[email protected]> Thu, 20 Apr 2017 11:13:38 +0000
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAERi-x1v_hwRrUjDyDyVNvYy4bmtP1zqEa5iVNBn7ZstviCa9A@mail.gmail.com> |
Hello, Pike8.0 under windows 10. I have a script that follows a logfile to detect a certain message. Principially I'm using Stdio.FILE->gets(). This works well, until at some point the program decides to roll-over the logfile. I have not tested it, but I suppose the Stdio.FILE object just keeps to old renamed file open. Is there an easy way to detect the moving of the logfile from the Stdio.FILE object? Best regards, Marc Dirix