I have installed Apache tomcat 5.5 as a service in my system. Also i added a custom logging file using log4j for a web application. whenever i used system.out.println(\"some tex
Not sure if you can redirect System.out and even if you could it'd be mighty confusing, but why aren't you using the log4j facilities if you've set them up?
i.e. log.info("my message");
instead of System.out.println("my message");
?
If you're note sure how to use log4j with Tomcat, there's a tutorial here that should help you get going.