Displaying Complete Stack Trace in Log File

2008-06-22 Thread Tanuja Goturi
Hi All, I am using a File Appender and I have used the following conversion pattern in log4j.properties. log4j.appender.fileAppender.layout.ConversionPattern=%d{dd-MM- hh:mm:ss z} %p [%c.%M()]:%m%n and in my Java class, I do the following to log an exception try { . . . }

Re: Displaying Complete Stack Trace in Log File

2008-06-22 Thread Maarten Bosteels
replace the plus-sign by a comma :-) log.error(Exception Caught : , e); Maarten On Sun, Jun 22, 2008 at 2:51 PM, Tanuja Goturi [EMAIL PROTECTED] wrote: Hi All, I am using a File Appender and I have used the following conversion pattern in log4j.properties.