[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Log Rotation



Which file is this, or more precisely... which exact file is the one
that controls the >main< httpd access file?.. before it gets split off
by "split_logs"?  is it the "home" file under "/etc/logrotate.d/"?

~ T

Zeffie wrote:

> > Can I change the log files in logrotate.d from
> >
> >
> > /home/sites/home/logs/access {
> > rotate 2
> > size 100mb
> > }
> >
> > [to]
> >
> > /home/sites/home/logs/access {
> > rotate 2
> > monthly
> >  compress
> > }
>
> Sure!  whatever floats your boat!
> See "man logrotate"
> but keep in mind that when you change a site through the gui it will
> overwrite the site(whatever) file and you need to do the same to the
> logtotate.onboot directory to.
>
> Zeffie
> So how about that script