This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to log output in tomcat environment