Hi Marteen,
Thanks a lot for the reply.
May be I should have gone thro' the log4j API properly.
-Tanuja
On 6/22/08, Maarten Bosteels <[EMAIL PROTECTED]> wrote:
>
> replace the plus-sign by a comma :-)
>
> log.error("Exception Caught : ", e);
>
> Maarten
>
> On Sun, Jun 22, 2008 at 2:51 PM, Tan
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.
> log4j.appender.fileAppen
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 {
.
.
.
}
catch(Exceptio