Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

log exception trace

Status
Not open for further replies.

samit700

Programmer
Sep 23, 2003
52
US
Hi,

I am using log4j for logging in my application. How do I log the full exception trace in the problem. the only available method is - log.info(e.getMessage()) which only gives a basic error message, not the trace.

thanks,
samit
 
Solved the problem. logger extends category and has methods for printing exception trace available.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top