[Logcheck-devel] Bug#406973: logtail misses lines in rotated file

Christoph Berg myon at debian.org
Thu Aug 9 16:38:50 UTC 2007


Re: Nicolas Boullis 2007-01-15 <20070115110250.GA1867 at kheops.system.ecp.fr>
> The attached patch allows to set an alternate logfile that logtail tries
> to use as the old logfile if the inode has changed.
> It can be used as:
>   logtail -f /var/log/syslog -a /var/log/syslog.1

It would be nice if the "other" filename could be figured out
automatically, for example with logrotate's "dateext" or savelog's -d
option, the filename is not predictable. (Just scan the whole dir and
look for the file with the right inode.)

Christoph Berg
-- 
Tel.: +49 (0)21 61 / 46 43-0
credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20070809/dc8c169e/attachment.pgp 


More information about the Logcheck-devel mailing list