Sounds interesting - I'd probably go with a similar approach if it was just me.
For our user base, IIS tends to equate to unsophisticated smaller IT shops, so I'm aiming at a solution with as little moving parts as possible. cheers tim ----- Original Message ----- From: "Mladen Turk" <mt...@apache.org> To: "Tomcat Developers List" <dev@tomcat.apache.org> 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'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 do is keep a list in memory and prune, which is > sub-optimal. > I have a modified Apache's logrotate that runs as a service and listens on a pipe. Opening log files is then fopen("\\\\PIPE\\.\\isapi_redirect_log") The drawback is that additional service has to be installed but it eliminates all the problems with process redirection especially with multiple worker processes. Also there is no need to change any of the current logging code inside isapi_redirect. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org