• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat question - error log

 
Jaime Lannister
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic