On 14/12/06, Greig A Cowan <[log in to unmask]> wrote:
> Fair enough. I was looking here:
>
> http://tomcat.apache.org/faq/logging.html#catalina.out
>
> Must be out of date.
>
> Cheers,
> Greig
>
> On Thu, 14 Dec 2006, Kostas Georgiou wrote:
>
> > On Thu, Dec 14, 2006 at 12:03:56PM +0000, Greig A Cowan wrote:
> >
> > > Turns out that you can't logrotate catalina.out as it will cause an
> > > IOException in tomcat which will require a restart.
> >
> > Fedora is using the following in logrotate and it works fine.
> >
> > /var/log/tomcat5/catalina.out {
> > copytruncate
> > weekly
> > rotate 52
> > compress
> > missingok
> > }
> >
>
> --
> ========================================================================
> Dr Greig A Cowan http://www.ph.ed.ac.uk/~gcowan1
> School of Physics, University of Edinburgh, James Clerk Maxwell Building
>
> TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
> ========================================================================
>
|