File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes catalina.out not rotating with log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "catalina.out not rotating with log4j" Watch "catalina.out not rotating with log4j" New topic

catalina.out not rotating with log4j

amir fadaghi

Joined: Mar 17, 2009
Posts: 1
Hi All,
I am a solaris sys admin and, was told to use log4j to rotate catalina.out every night. although it seems easy but, I am very frustrated and confused. I hope you experts can help me out. Here is what I have in my /usr/local/apache-tomcat-5.5.25/common/classes directory


attached is the content of my (I just post what is not commented). I had to change the filename in order to be able to attach my file.

Maybe I do not understand fully what I have setup. I really appreciate your help on this.


I agree. Here's the link:
subject: catalina.out not rotating with log4j
It's not a secret anymore!