Re: Detect when a file has been recreated using a stat watcher

2008-12-26 Thread Graham Leggett
Marc Lehmann wrote: I don't know, it depends entirely on how you define logfile rotation, which probably relies on whatever program does the actual rotation. As in the file gets deleted and/or truncated, and the event driven application watching the file gets notified by some mechanism that

Re: Detect when a file has been recreated using a stat watcher

2008-12-26 Thread Marc Lehmann
On Wed, Dec 24, 2008 at 12:40:46PM +0200, Graham Leggett minf...@sharp.fm wrote: I don't know, it depends entirely on how you define logfile rotation, which probably relies on whatever program does the actual rotation. As in the file gets deleted and/or truncated, and the event driven