Re: Apache 7, Logrotate

2013-10-27 Thread Web2 Solutions
Hallo Rainer, Rainer Jung 27 Oct 2013 14:23 Only for the access log: there's a property checkExists="true", thatwill close the file and reopen it if the access log valve detects thefile has been moved/renamed. That option could be more expensive thoughthen just using an

Re: Apache 7, Logrotate

2013-10-27 Thread Rainer Jung
On 25.10.2013 11:54, Konstantin Kolinko wrote: > 2013/10/25 Web2 Solutions : >> 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 >> th

Re: Apache 7, Logrotate

2013-10-25 Thread David N. Smith
> On Oct 25, 2013, at 6:56 AM, "Internet Lösungen für Klein & Gross " > wrote: > >> Renaming the file is futile, because Tomcat (for access logs) or the >> shell (for catalina.out) >> has the file open and continues to write to it, regardless of the file name. > Ok, got that. I could see it tho

Re: Apache 7, Logrotate

2013-10-25 Thread Internet Lösungen für Klein & Gross
Hi Konstatin, thanks for the explanation. > 2013/10/25 Web2 Solutions : > > 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 >

Re: Apache 7, Logrotate

2013-10-25 Thread Konstantin Kolinko
2013/10/25 Internet Lösungen für Klein & Gross : > > > >> On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions >> 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 config

Re: Apache 7, Logrotate

2013-10-25 Thread Internet Lösungen für Klein & Gross
> On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions > 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 da

Re: Apache 7, Logrotate

2013-10-25 Thread Konstantin Kolinko
2013/10/25 Web2 Solutions : > 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 witho

Re: Apache 7, Logrotate

2013-10-25 Thread Urfan Alimov
On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions 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.