On Wed, Oct 20, 1999 at 03:58:09PM +0530, shajain wrote:
> Hi,
> 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.
> Thanks,

There are different opinions whether it's best to do time-based or
size-based logging, but if you want time-based logging, go for cyclog and
Bruce Guenter patch for invoking a command when rotating. 

Rename file to day-number, and do something intelligent with the oldies.

http://em.ca/~bruceg/rpms/daemontools/cyclog-command.patch 

/magnus

--
MOST useless 1998 * http://x42.com/

Reply via email to