httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Ladner <eric.lad...@gmail.com>
Subject Re: [users@httpd] rotating log files
Date Sun, 26 Dec 2004 04:30:40 GMT
That's what the "apachectl graceful" does.  


On Sat, 25 Dec 2004 11:13:55 -0600, Shashank Bhide
<shashank@biochem.okstate.edu> wrote:
> 
> >>mv access_log access_log.old
> >> mv error_log error_log.old
> >> apachectl graceful
> >> sleep 600
> >> gzip access_log.old error_log.old
> 
> I was curious, doesn't apache actively write to the log files? So do we
> need to stop apache before, say move the files? (Stop the network when
> we move the files, may be?)
>         Would the graceful start create new access and error log files, since
> they were non existant after the move?
> 
> Thanks,
> Shashank
>
-- 
Eric Ladner

---------------------------------------------------------------------
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