File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61084
    
  66

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?