You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kalin mintchev <ka...@el.net> on 2006/04/30 02:00:18 UTC

catalina.out

  hi all...

  how come if i raname catalina.out to catalina.out.OLD and the create a
new catalina.out tomcat still writes to catalina.out.old?!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: catalina.out

Posted by Tim Diggins <su...@red56.co.uk>.
kalin mintchev wrote:
>   hi all...
> 
>   how come if i raname catalina.out to catalina.out.OLD and the create a
> new catalina.out tomcat still writes to catalina.out.old?!
> 

I believe that's really to do with the magic of the underlying 
filesystem and not tomcat-related (think of filesystem names under a 
unix-like operating system as pointers to actually memory (inodes) and i 
think that's an analogy that works. Under windows it doesn't work like 
that at all (hence no ln function) and instead you are prevented from 
renaming a file with open handles).

more practically (and back in the world of tomcat) there is a useful faq 
entry & discussion list entry here: 
http://tomcat.apache.org/faq/logging.html#catalina.out

- Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org