aspose file tools*
The moose likes Tomcat and the fly likes Tomcat question - error log Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat question - error log" Watch "Tomcat question - error log" New topic
Author

Tomcat question - error log

Jaime Lannister
Greenhorn

Joined: Mar 30, 2005
Posts: 18
I'm trying to get Tomcat to work with Apache to handle servlets, and I want to look at the Tomcat error log. Is Catalina.out (the only thing in my log folder) a general error log? So far all it does is print stuff when I turn Tomcat off and on. If there there is another error log, what is it called and where is it likely to be? Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Moved to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

That's where all of your logs will go.
The names will vary according to what version of tomcat you are running and how you're running it (Windows Service, command line, etc) but they will always be there.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Ben Souther:
That's where all of your logs will go.
The names will vary according to what version of tomcat you are running and how you're running it (Windows Service, command line, etc) but they will always be there.



[added]
If you put a:
System.out.println("Hello") in your servlet or jsp code, it should write to the log file under tomcat/logs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat question - error log