procmail
[Top] [All Lists]

Re: locking the logfile -- how to?

1997-08-23 12:40:46
        Author:         Wotan <wotan(_at_)netcom(_dot_)com>
        Original-Date:  Fri, 22 Aug 1997 22:23:25 -0700 (MST)
        Message-ID:     
<Pine(_dot_)SUN(_dot_)3(_dot_)95(_dot_)970822222006(_dot_)7562C-100000(_at_)netcom3>

I'm slightly confused.  :)

Don't worry, you get used to it....

Does your app just let you know when a change is made so you know you've
got new e-mail?  Or does it tell you what changes occurred?

Basically it does 'tail -1f /path/to/file' and hides when no new input it  
received in X seconds


If it just tells you new mail came in, run a secondary and continues log,
that just records something like "New mail arrived $date".

It tells me everything that hits the log, including what matched, etc.

TjL, quite happy with a global lockfile anyway.