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

Reply via email to