This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Where is the log message written? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Where is the log message written? " Watch "Where is the log message written? " New topic
Author

Where is the log message written?

Nigel Chou
Ranch Hand

Joined: Oct 11, 2001
Posts: 47

I don't know which file is "onInit: start" written, and I didn't find any file including the message under Tomcat 5.0\logs.

Does logger need configaration?


SCJP for Java 2, SCWCD, SCMAD
Srinivasan Jayabalan
Greenhorn

Joined: Jun 21, 2004
Posts: 4
Look for log4j.properties normally present under <tomcat>/webapps/ur_web_app/WEB-INF/classes, if you are using the same for logging. This file will have thje logfile name in it.
[ October 14, 2005: Message edited by: Srinivasan Jayabalan ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Except, of course, that he's not using Log4J.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Where is the log message written?
 
Similar Threads
Writing logs to a single file from Multiple Classes
Log4J created two log files but should have only done one
logging lifecyle events of servlet
How to make each log entry start on a new line?
problems with packages and import statements