search for: logfilerot

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

2004 Nov 10
1
logtail ignoring information in rotated logs
...ld indicate tampering.\n"; } } + + # Check for the existence of a rotated log + + if ((undef,$rotatedino,undef,undef,undef,undef,undef,$rotsize) = stat "$logfile.0") { + if ($inode == $rotatedino && $offset < $rotsize) { + unless (open(LOGFILEROT, "$logfile.0")) { + print "File $logfile.0 cannot be read.\n"; + exit 66; + } + seek(LOGFILEROT, $offset, 0); + while (<LOGFILEROT>) { + print $_; + } + close LOGFILEROT; +...