aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to log output in tomcat environment" Watch "How to log output in tomcat environment" New topic
Author

How to log output in tomcat environment

Mandar Velankar
Ranch Hand

Joined: Jul 31, 2006
Posts: 32
Hi,
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.
Regards
Mandar Velankar
Ben Souther
Sheriff

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to log output in tomcat environment
 
Similar Threads
want to change Catalina.out
upgrade from tomcat 5 to tomcat 6
Tomcat 5.5 logging internal process in tomcat_out.log
Log trace missing in catalina.out
debug mode (jpda) not starting