[ 原始碼: logcheck ]
套件:logtail(1.4.2)
Identify new lines added to the end of log files
Each time logtail and logtail2 are run on a file they print lines added since the last run.
They can be used by log checkers, such as logcheck, to identify new entries in log files.
This package provides both logtail and logtail2. The latter is better suited to log files that may be rotated between runs: if logtail2 finds that the inode of the file changed, it tries to find the file it was rotated from using customisable heuristics. If it finds the file, it will new find lines added to the old file as well as to the new file.