search for: rotatedino

Displaying 1 result from an estimated 1 matches for "rotatedino".

2004 Nov 10
1
logtail ignoring information in rotated logs
...000000000 +0930 +++ logtailng.pl 2004-11-11 02:10:55.000000000 +1030 @@ -21,7 +21,7 @@ use strict; use warnings; -my ($size); +my ($size, $rotsize); use Getopt::Std; my %opts = (); @@ -52,7 +52,7 @@ exit 66; } -my ($inode, $ino, $offset) = (0, 0, 0); +my ($inode, $ino, $offset, $rotatedino) = (0, 0, 0, 0); unless (not $offsetfile) { if (open(OFFSET, $offsetfile)) { @@ -82,6 +82,22 @@ print "*************** This could indicate tampering.\n"; } } + + # Check for the existence of a rotated log + + if ((undef,$rotatedino,undef,undef,undef...