A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Redirecting Exceptions Or Exceptions to our own log files
Joined: Sep 18, 2007
Oct 19, 2007 05:51:00
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.
Joined: Dec 11, 2004
Oct 19, 2007 06:31:00
Have you lookeded into a logging package like log4j?
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Redirecting Exceptions Or Exceptions to our own log files
Exception Logging & printStackTrace()
Unable to print stack trace on own log file
write pdf files whith servlets
logging runtime exceptions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015