NAME

multilog-stamptail - Tail multilog logs from the point it left off last time


SYNOPSIS

multilog-stamptail [-hv] stampfile mutlilogdirectory


DESCRIPTION

multilog-stamptail parses the logs in a multilog(1) directory, picking up where the last invocation left off, and outputs them to standard output.


OPTIONS

-h, --help
Print out this documentation (which is done simply by feeding the script to perldoc -t).

-v, --version
Print the version of multilog-stamptail and exit.


EXAMPLES

    multilog-stamptail /var/run/qmail.stamp /var/qmail/log/send/


FILES

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 ALSO

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.


AUTHORS

Paul Kremer <pkremer [at] spurious [dot] biz>


CREDITS

Russ Allbery <rra [at] stanford [dot] edu> (original author of 'multilog-watch', which was the basis for this tool)


COPYRIGHT AND LICENSE

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.