On Fri, Mar 30, 2001 at 02:17:25PM -0800, Corey Adam Baye wrote:
> On Fri, 30 Mar 2001, Aage J. Skjolingstad wrote:
> 
> > Hi All,
> > 
> > When crond is log rotating (crond.weekly) - httpd feil to start up
> > again. I'm running RH 7.0 with Apache/1.3.14 (Unix) (Red-Hat/Linux)
> > mod_ssl/2.7.1 OpenSSL/0.9.5a mod_perl/1.24
> 
> apache has a utility called rotatelogs which avoids the logrotate issue
> altogether and doesn't require an apache restart; it does require that the
> logs be cleaned up somehow afterwards, for example,
> 
>    find <path-to-log-dir> -name "*log*" -mtime +6 -exec rm -f {} \;
> 

Even better than rotate logs, is a program called cronolog.

http://www.ford-mason.co.uk/resources/cronolog/

-Dave
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to