multilog-stamptail - Tail multilog logs from the point it left off last time
multilog-stamptail [-hv] stampfile mutlilogdirectory
multilog-stamptail parses the logs in a multilog(1) directory, picking up
where the last invocation left off, and outputs them to standard output.
perldoc -t).
multilog-stamptail /var/run/qmail.stamp /var/qmail/log/send/
multilog-stamptail creates a file specified on the command line (stampfile), containing the timestamp of the last successful filter run. It reads this file if its present and ignores any log messages before that time. You should ensure that this file is not deleted/changed by foreign processes.
See http://cr.yp.to/daemontools.html for information on multilog and the rest of the daemontools package.
The current version of this program is available from its web page at http://partisans.spurious.biz/~pkremer/projects/scripting/#perl.
Paul Kremer <pkremer [at] spurious [dot] biz>
Russ Allbery <rra [at] stanford [dot] edu> (original author of 'multilog-watch', which was the basis for this tool)
Copyright 2003-2005, Paul Kremer.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.