[Tutor] Monitoring a logfile

R. Alan Monroe amonroe at columbus.rr.com
Wed Dec 2 03:31:42 CET 2009

> Varnish has a dedicated (but not always) reliable logger service.  I'd
> like to monitor the logs - specifically I want to check that a known
> entry appears in there every minute (it should be there about 10 times
> a minute).

> What's going to be the best way to carry out this kind of check?  I
> had a look at SEC, but it looks horrifically complicated.

Ever used the seek() and tell() and readline() methods of a file
object? You could probably hack something together pretty quickly with


More information about the Tutor mailing list