Rotating web server logs without restarting Apache

Gerald de la Pascua gerald at homes-on-line.com
Fri Nov 25 17:09:27 GMT 2005


loose entries?  what in the window between the copy and the restart?

would the scheme you suggest work with individual logfiles for individual
domains?

Gerald


On 11/25/05, Holger Kipp <hk at alogis.com> wrote:
>
> 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