Uwe Dippel wrote:
Could you please share your preferred methods to rotate the
/var/www/logs/, ?
Not the best way I am sure, but for 7 years now on servers that run
multiple virtual sites, all of them with their own logs and a few of
them getting a few millions hits a day, I simply use
cp ac
On Fri, 9 Dec 2005 14:09:03 +0100
Olivier Mehani <[EMAIL PROTECTED]> wrote:
> The problem is that I remember having dug up this problem a little,
> and all the solutions using cronolog were said to have problems when
> booting. I think I will actually give this solution a real try right
> now (;.
On Fri, 09 Dec 2005 13:33:30 +0100
Hans van Leeuwen <[EMAIL PROTECTED]> wrote:
> CustomLog "|/usr/local/sbin/cronolog
> -l /var/www/logs/access-hanz.nl /var/www/logs/old/access-hanz.nl.%
> Y%m%d" combined
> >>>But you are not using the default chrooted apache, are you ?
> >>Yes, I am.
>
Olivier Mehani wrote:
On Fri, 09 Dec 2005 13:12:14 +0100
Hans van Leeuwen <[EMAIL PROTECTED]> wrote:
CustomLog "|/usr/local/sbin/cronolog -l /var/www/logs/access-hanz.nl
/var/www/logs/old/access-hanz.nl.%Y%m%d" combined
But you are not using the default chrooted apache, are you ?
On Fri, 09 Dec 2005 13:12:14 +0100
Hans van Leeuwen <[EMAIL PROTECTED]> wrote:
> >>CustomLog "|/usr/local/sbin/cronolog -l /var/www/logs/access-hanz.nl
> >>/var/www/logs/old/access-hanz.nl.%Y%m%d" combined
> >But you are not using the default chrooted apache, are you ?
> Yes, I am.
> [EMAIL PROTECT
Olivier Mehani wrote:
On Fri, 09 Dec 2005 11:11:23 +0100
Hans van Leeuwen <[EMAIL PROTECTED]> wrote:
Could you please share your preferred methods to rotate the
/var/www/logs/, ?
I had the same problem, and solved it by using cronolog.
From my httpd.conf:
CustomLog "|/usr/local/sbi
On Fri, 09 Dec 2005 11:11:23 +0100
Hans van Leeuwen <[EMAIL PROTECTED]> wrote:
> >Could you please share your preferred methods to rotate the
> >/var/www/logs/, ?
> I had the same problem, and solved it by using cronolog.
>
> From my httpd.conf:
>
> CustomLog "|/usr/local/sbin/cronolog -l /var/www
We're using the following in our newsyslog.conf file:
"(/usr/sbin/apachectl stop; (while `/usr/bin/pgrep httpd > /dev/null 2>&1`; do
/bin/sleep 1; done); /usr/sbin/apachectl start) > /dev/null 2>&1"
On Fri, Dec 09, 2005 at 01:45:51PM +0800, Uwe Dippel wrote:
> There are many posts on this proble
Uwe Dippel wrote:
Could you please share your preferred methods to rotate the
/var/www/logs/, ?
I had the same problem, and solved it by using cronolog.
This way you don't have to restart apache.
From my httpd.conf:
CustomLog "|/usr/local/sbin/cronolog -l /var/www/logs/access-hanz.nl
/var/
On 12/9/05, Uwe Dippel <[EMAIL PROTECTED]> wrote:
> # apachectl stop && apachectl start
>
> This is all I get here:
> # apachectl stop &&
> /usr/sbin/apachectl stop: httpd stopped
> /usr/sbin/apachectl start: httpd (pid 18132) already running
>
> In the end, it doesn't restart; leaving the users ou
On Fri, Dec 09, 2005 at 01:45:51PM +0800, Uwe Dippel wrote:
> There are many posts on this problem; and the reason is understood.
>
> To me, the FAQ 10.16 seems wrong:
>
> Log Rotation: Normally, logs are rotated by renaming the old files,
> then sending httpd(8) a SIGUSR1 signal to cause Apache
11 matches
Mail list logo