This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi I would like to know how to make appear my System.out.println() call from the servlet in the [tomcat]/logs/servlet log (or anywhere else). Thanks for your hints! *** Liza
ernest fakudze
Ranch Hand
Joined: Aug 27, 2001
Posts: 216
posted
0
Hi! You need this for debugging purposes right? When I call System.out.pritnln() in any Java class, including servlets, I see it in the Tomcat Window and this is enough for me. If you startup Tomcat from the DOS terminal you will see this happening. What happens is that the DOS terminal launches a new Tomcat window and you can watch this new window to see things happening as you interact with your jsps or Java classes and this is also where System.out.pritnln() messages are printed. Would this do for your case?? I figure all you want to see are messages which are printed out on the console while your interact with your servlets/Jav classes??
In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Logging in tomcat-3.2.3 / System.out.println()