File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Elasticsearch in Action this week in the Big Data 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 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: 62141

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:
subject: Where is the log message written?