File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes How to log output in tomcat environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to log output in tomcat environment" Watch "How to log output in tomcat environment" New topic

How to log output in tomcat environment

Mandar Velankar
Ranch Hand

Joined: Jul 31, 2006
Posts: 32
I am using Tomcat 5.0.16 with NetBeans IDE 3.6 at my office.As per previous
settings done I don't find out catalina.out file( even search with Windows utility) , its surprise to , also I find out it is only possible to log message using request.getSession().getServletContext().log() method and it is log into custome files in log dir. I Just know such settings can be done
using Logger interface in Tomcat 5 & previous versions. Can anybody please
help me to find out or guess what configuration is done in enviroment and even more surprise how catalina.out is not created in such configuration.
Thanks a lot and wait for your replies.
Mandar Velankar
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I use log4j

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: How to log output in tomcat environment
It's not a secret anymore!