tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Internet Lösungen für Klein & Gross <m...@web2-solutions.com>
Subject Re: Apache 7, Logrotate
Date Fri, 25 Oct 2013 10:01:41 GMT



> On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions <mail@web2-solutions.com>wrote:
> 
> > Hallo All,
> >
> > I've installed tomcat 7.0.42 and due heavy use my catalina.out and
> > localhost_access-jjj-mm-dd.txt grows quit big.
> >
> > I've successfully configured logrotate to rotate both files. I've removed
> > the date from the access log.
> > So Tomcat now writes without rotating into localhost_access.txt
> >
> > Logrotate now create a new file (localhost_access-dd-mm-dd.**txt) and
> > makes localhost_access.txt empty.
> > But tomcat now writes into the new localhost_access-dd-mm-dd.txt instead
> > of the configured file (localhost_access.txt).
> >
> > What do I have todo so that tomcat continues to write into
> > localhost_access.txt  even after rotating?
> >
> > ------------------------------**------------------------------**---------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
> > For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> Hi,
> 
> Have you configured logrotate with "olddir" parameter? With this parameter
> logs will be moved to specified directory.
> 
> Thank you,
> 
Hi, 
thank you for your reply. No I don't have that option active.
Tomcats seems to have a pointer to the log-files. 
So after renaming or move it still writes in them. Is that correct? If so another folder will
not help!?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message