I'm using tomcat on redhat and it logs to a file called tomcat.out -- I want to keep a daily log of this file by renaming tomcat.out to something like tomcat_
.out. Only problem is tomcat keeps a lock on this file so I can't rename it without breaking the log (tomcat stops logging to it). I tried using symlinks for it, but that failed too. any other ideas? what about named pipes (I don't know how to do that)...??
thanks in advance