httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Apache log rotation problem
Date Wed, 26 Mar 2003 01:21:59 GMT

On Tue, 25 Mar 2003, Jacob Coby wrote:

> > I have a bit of a problem when I rotate my access and error logs.  I am
> using
> > Apache 1.3.something on Debian and whenever I gzip a log file and it gets
> > removed, the log file does not get written to by apache until I restart
> apache,
> > even if I 'touch' the file.  Can anyone see what I am doing wrong here?
>
> After moving the file, you have to bump the server to get it to reload the
> config by sending it a -HUP signal: `killall -HUP /path/to/httpd`

Except use the USR1 signal or "apachectl graceful" so that the logs will
be reopened without losing any connections.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message