Is there anyway by which I can retrieve the old missing logs of a few dates?
Thanks,

----- Original Message ----- 
From: Dave Sill <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 20, 1999 5:07 PM
Subject: Re: qmail logs


> 
> 
> "shajain" <[EMAIL PROTECTED]> wrote:
> 
> >I need to keep logs of qmail atleast for 60 days, but when I check in
> >/var/log/qmail it shows the logs of only past three-four days. I
> >would be very thankful if somebody can tell me how to increase the
> >entry for no. of days for which qmail keeps the logs.
> 
> Assuming you're using cyclog, the total size of the logs is determined
> by two arguments: -s (the size of each file, default 104000) and -n
> (the number of log files, default 10). So, by default, cyclog keeps
> about a megabyte of logs. If you wanted 20 megabytes of logs, you
> could do something like:
> 
>     blah blah blah ... | cyclog -n20 -s1004000 /var/log/qmail
> 
> There's no way with cyclog to keep a specified duration of logs.
> 
> -Dave

Reply via email to