Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logging

 
shiva
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not see catalina*log in logs directory. How should I configure this logging ? Using 5.0.*


Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Logging in tomcat has changed quite a bit between 5.0 and 5.5.

I generally recommend getting log4j It was one of the best things I've ever done.
Doing so will allow you to separate your logging configuration from the app server you're using.
 
shiva
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do I need log4j, even for catalina*.log?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shiva
Welcome to JavaRanch!

We're pleased to have you here with us in the Tomcat forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here

-Ben

PS: Did I not notice this before or did you change your screen name from something valid to "shiva"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic