aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "catalina.out not rotating with log4j" Watch "catalina.out not rotating with log4j" New topic
Author

catalina.out not rotating with log4j

amir fadaghi
Greenhorn

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

ppender.log4j.properites.modified appender.log4j.properties log4j.properties

attached is the content of my log4j.properties (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.

thanks



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: catalina.out not rotating with log4j
 
Similar Threads
Help required to log messages in tomcat :"Not able to log messages to separate files"
New to log4j
log4j.xml configuration
How to write errors to a file using Log4j.Properties
log4j configuratiions in JBOSS 4.0.4