logcheck and logrotate

M.W. Chang mwchang
Mon May 17 12:01:27 PDT 2004


> In a 0.5K blaze of typing glory, M.W. Chang wrote:
>> I run logcheck.sh at 07:00 and 23:59 respectively. At 00:00, my log 
>> rotates. Will logcheck handle its offset files properly after the log 
>> rotation? I also wonder how it could cater for that.
> 
> I don't quite understand what you're asking. As it is, it sounds like

After logcheck.sh ran, it would leave some *.offset files in /var/log to 
bookmark the line number in each log file it accessed. I just wonder 
whether logrotate (which truncates the log files) would interfere with 
logcheck's offset files. So far, i don't hear anything bad from 
logcheck, but I was just not confident about that.


-- 
   .~.    http://toylet.homeip.net
  / v \   Linux 2.4.22-xfs
/( _ )\  12:44am up 4:59 0 users
   ^ ^    1.11 1.61



More information about the Linux-users mailing list