Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
> Not sure why are you using ftell_nolock > We already have a problem with ISS logging because > multiple processes (IIS 6+) can write to a single log file. Yeah, my bad. Was hoping it would be cheaper than a file size check, but not thinking about multi-process IIS. > > > On the configurat

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Mladen Turk
On 01/07/2010 10:49 AM, Tim Whittington wrote: That looks better - will incorporate that. Not sure why are you using ftell_nolock We already have a problem with ISS logging because multiple processes (IIS 6+) can write to a single log file. On the configuration I went for two properties wit

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
ntext, although we could handle it). cheers tim - Original Message - From: "Mladen Turk" To: "Tomcat Developers List" Sent: Thursday, 7 January, 2010 10:26:13 PM GMT +12:00 New Zealand Subject: Re: [PROPOSAL] Log rotation in Tomcat Connector On 01/07/2010 09:56

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Mladen Turk
On 01/07/2010 09:56 AM, Tim Whittington wrote: I've attached the initial implementation, along with a docs patch, to an issue in Bugzilla. https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 I managed to track down the crashing - I was referencing a jk_file_logger_t that got deallocated w

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
;t like at all. cheers tim - Original Message - From: "Tim Whittington" To: "Tomcat Developers List" Sent: Wednesday, 6 January, 2010 3:28:47 PM GMT +12:00 New Zealand Subject: Re: [PROPOSAL] Log rotation in Tomcat Connector For consistency (with Apache at lea

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
aden Turk" To: "Tomcat Developers List" Sent: Thursday, 7 January, 2010 12:53:06 AM GMT +12:00 New Zealand Subject: Re: [PROPOSAL] Log rotation in Tomcat Connector On 01/06/2010 03:28 AM, Tim Whittington wrote: > > The downside of the rotatelogs approach is that it&#x

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-06 Thread Mladen Turk
On 01/06/2010 03:28 AM, Tim Whittington wrote: The downside of the rotatelogs approach is that it's not easy to do log pruning (since the filenames are based on the time the log rotates, rather than some kind of backup suffix scheme), so I may do nothing about that for now - the best I could

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-06 Thread Rainer Jung
mething external. Regards, Rainer - Original Message - From: "Rainer Jung" To: "Tomcat Developers List" Sent: Saturday, 19 December, 2009 1:01:53 AM GMT +12:00 New Zealand Subject: Re: [PROPOSAL] Log rotation in Tomcat Connector Hi Tim, On 18.12.2009 03:26, Tim Whittin

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-05 Thread Tim Whittington
9 December, 2009 1:01:53 AM GMT +12:00 New Zealand Subject: Re: [PROPOSAL] Log rotation in Tomcat Connector Hi Tim, On 18.12.2009 03:26, Tim Whittington wrote: > Hi all > > We're experiencing issues with the Tomcat Connector log in some IIS > production sites where the log file

Re: [PROPOSAL] Log rotation in Tomcat Connector

2009-12-18 Thread Rainer Jung
Hi Tim, On 18.12.2009 03:26, Tim Whittington wrote: Hi all We're experiencing issues with the Tomcat Connector log in some IIS production sites where the log file grows to a very large size (8GB on one site). This is almost entirely due to connection errors between the front end and back end

[PROPOSAL] Log rotation in Tomcat Connector

2009-12-17 Thread Tim Whittington
Hi all We're experiencing issues with the Tomcat Connector log in some IIS production sites where the log file grows to a very large size (8GB on one site). This is almost entirely due to connection errors between the front end and back end produced when the back-end Tomcat is restarted after