aspose file tools*
The moose likes Servlets and the fly likes Logging in tomcat-3.2.3 / System.out.println() 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 » Java » Servlets
Bookmark "Logging in tomcat-3.2.3 / System.out.println()" Watch "Logging in tomcat-3.2.3 / System.out.println()" New topic
Author

Logging in tomcat-3.2.3 / System.out.println()

Liza Boa
Greenhorn

Joined: Aug 16, 2001
Posts: 23
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
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://aspose.com/file-tools
 
subject: Logging in tomcat-3.2.3 / System.out.println()
 
Similar Threads
where to output?
information required about various xml files in tomcat
Implementation classes for HttpServletRequest and HttpServletResponce
Tomcat 5 related question?
System.out.println messages