This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
log4j configuratiions in JBOSS 4.0.4
How to write errors to a file using Log4j.Properties
New to log4j
log4j.xml configuration
Help required to log messages in tomcat :"Not able to log messages to separate files"