aspose file tools*
The moose likes Tomcat and the fly likes Redirecting Exceptions Or Exceptions  to our own log files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Redirecting Exceptions Or Exceptions  to our own log files" Watch "Redirecting Exceptions Or Exceptions  to our own log files" New topic
Author

Redirecting Exceptions Or Exceptions to our own log files

Ramesh Etta
Ranch Hand

Joined: Sep 18, 2007
Posts: 46
hi,

when ever my application raises some exceptions these exceptions are written in logs directory of TOMACAT_HOME. How can i redirect those to my log file, that is the log file created by me.

Please help me.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Have you lookeded into a logging package like 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: Redirecting Exceptions Or Exceptions to our own log files