Re: rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
Unfortunately, it's more complex than that... check out this list: > ls -lt nes* -rw-r--r-- 1 root wheel 35846 Aug 20 10:19 nes.com-access.log. 2008-08-20-12_40_09 -rw-r--r-- 1 root wheel 10117 Aug 20 10:01 nes.com-access.log. 2008-08-20-13_56_42 -rw-r--r-- 1 root wheel284 Aug 20 08

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread Bill Moran
In response to John Almberg <[EMAIL PROTECTED]>: > I'm a newbie admin and I've just figure out something that will be > obvious to most on this list... that apache log files can get big, fast. > > I did a df for another reason the other day and was surprised to see > my /var partition at 85%

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread Volodymyr Kostyrko
John Almberg wrote: I'm a newbie admin and I've just figure out something that will be obvious to most on this list... that apache log files can get big, fast. What apache version you are using? rotatelogs syntax differ a lot between them. -- Sphinx of black quartz judge my vow. ___

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread Riaan Kruger
On Wed, Aug 20, 2008 at 4:03 PM, John Almberg <[EMAIL PROTECTED]> wrote: > That does not look like 5 Meg but 5 Minutes. >> >> > I don't think so... From the man pages: > >CustomLog "|bin/rotatelogs /var/logs/logfile 5M" common > > This configuration will rotate the logfile whenev

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread John Almberg
That does not look like 5 Meg but 5 Minutes. I don't think so... From the man pages: CustomLog "|bin/rotatelogs /var/logs/logfile 5M" common This configuration will rotate the logfile whenever it reaches a size of 5 megabytes. ErrorLog "|bin/rotatel

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread Riaan Kruger
On Wed, Aug 20, 2008 at 2:58 PM, John Almberg <[EMAIL PROTECTED]> wrote: > I'm a newbie admin and I've just figure out something that will be obvious > to most on this list... that apache log files can get big, fast. > > I did a df for another reason the other day and was surprised to see my > /va