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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Where is the log message written? " Watch "Where is the log message written? " New topic

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?

Srinivasan Jayabalan

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

Joined: Jan 10, 2002
Posts: 60791

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
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