Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirecting Exceptions Or Exceptions to our own log files  RSS feed

 
Ramesh Etta
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you lookeded into a logging package like log4j?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!