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

[cobalt-users] log rotate - WHEN EXACTLY?



Hello,

this is in my /etc/logrotate.d file:

/home/sites/site1/logs/mail.log {
   missingok
   compress
   size 2M
}

/home/sites/site1/logs/ftp.log {
   missingok
   compress
   size 2M
}

/home/sites/site1/logs/web.log {
   missingok
   compress
   size 2M

So, it seems, that he does a log rotate every 2 MB, or what? And when
exactly gets this file compressed? How many compressed files does he
create? Always one compressed (old) and one uncompressed actual? I
don't have any idea right now... :-(

The "funny" thing is, that 2 MB is for *EVERY* site, no matter how
much space I gave it...

Thanks,
Florian