Re: [EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread Agnello George
On 6/5/08, André Warnier <[EMAIL PROTECTED]> wrote: > Or you could change your log rotation system altogether, and use logrotate > if your OS has it. > The general idea is : you dom't use rotatelogs, you write the logs normally > to a file. > With cron, you regularly run logrotate, as often as you

Re: [EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread André Warnier
Or you could change your log rotation system altogether, and use logrotate if your OS has it. The general idea is : you dom't use rotatelogs, you write the logs normally to a file. With cron, you regularly run logrotate, as often as you want. It has a configuration file that tells it which files

Re: [EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread Ben Ricker
Rotatelogs, as far as I know, does not delete logs. It merely rotates them. If you want to delete for size, you could do some fancy work with 'ls', cut out the size, compare it to a specific number you want, and then delete it if it is over that size. That seems kludgy though. What I do is

[EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-04 Thread Agnello George
HI I have atleast 20 virtual host on my Apache ( 2.2.8 ) server and am having a difficulty in deleting the logs after it reaches a certain limit. my vhost directive look something like this : ServerAdmin [EMAIL PROTECTED] ServerName agnello.sys.qualiproj.qualispace.com ServerAlias www.agnello.sy