wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 61456

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Where is the log message written?