[Top][All Lists]

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

Re: can we stop logging for certain service.

From: Aleksander
Subject: Re: can we stop logging for certain service.
Date: Tue, 20 Feb 2007 17:10:57 +0200
User-agent: Thunderbird (X11/20070102)

Qi Lu wrote:

We have a logging message to indicate Apache2 server pid has been changed every day. This is because the cron job does apache logrotate everyday, which restarts apache2.


AFAIK, you don't have to restart apache, a reload will do. In the logrotate config do a reload, if the init script supports it.

From /etc/logrotate.d/apache2:

     /etc/init.d/apache2 reload

IIRC this should work for older versions too. I'm using the 2.2 series.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]