[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: log files & rotation
- Subject: Re: [cobalt-users] Re: log files & rotation
- From: flash22@xxxxxxx
- Date: Wed Sep 12 15:51:06 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 10 Sep 2001, A. Lantink wrote:
> 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??
There is no template, it's generated inline from perl scripts, the log
limit is calculated as a percentage of quota, and it's all glued
together...
peek at
/usr/lib/perl5/site_perl/Cobalt/Vsite.pm
and /usr/admserv/cgi-bin/.cobalt/siteAdd/siteAdd.cgi
[exact paths vary by machine type....]
Modifying those scripts will cause your warrenty to spontanously
explode...
> 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.
The files will only change if you delete and recreate the site tho, big
deal -/
gsh