Rotating web server logs without restarting Apache

Holger Kipp hk at alogis.com
Fri Nov 25 14:51:37 GMT 2005


On Fri, Nov 25, 2005 at 02:28:31PM +0000, Gerald de la Pascua wrote:
> I usally just copy the file and then
> 
> echo > /var/log/apache/httpd_log
> 
> and apache doesn't seem to need to be restarted,

you will lose log entries. don't do that.

Regards,
Holger Kipp
alogis AG, Berlin


More information about the freebsd-stable mailing list