[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Re: log files & rotation



> In the files /etc/logrotate.d/site1  ....site2 etc is configured when the
> site logs(web.log,ftp.log and mail.log) are rotated.
> Does anyone know where the template for this file is??
> This file is automatically generated for each virtual site. I want to rotate
> the logs once a day, and not at an set size. And i don't like to edit echt
> file manually, editing the templete ismore easy.

On my Raq2 the file is:

/usr/lib/perl5/site_perl/auto/Cobalt/Vsite/vsite_set_logrotate.al

I believe that these might get overwritten by future updates, so backup your
changes.

HTH,
j