wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat log rotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat log rotation" Watch "Tomcat log rotation" New topic
Author

Tomcat log rotation

venkatesh kaluvala
Greenhorn

Joined: Mar 10, 2009
Posts: 1
Hi everyone

I am trying to rotate my tomcat logs....i am using log4j.properties file and it works fine for tomcat log messages.
But, the problem is with my app. (9 apps) which actually write to stdout (using consoleappender), this makes my stdout file
very large. so, i decided to rotate that stdout log file. I redirected stdout and stderr to a rollingfileappender but it did not work.

So, please does any one know if it is possible....can we use piped log just as apache server does?
please any solutions and suggestions are highly valuable....because i am kinda stuck here....

configuration:

tomcat 5.5
windows xp operating system.

please let me know if you need anymore info...

thank you in advance
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Tomcat log rotation
 
Similar Threads
rotation of catalina logs per day
Rotating Tomcat STDOUT_timestamp & STDErr_timestamp log files ?
stdout -- simple logging
How to select destination of stdout?
Tomcat 5.5 and context.log