Thanks guys - I''l play with log4j as it was not being included in the
logging and throwing a very misleading error to the browser.

Regards
Emile

----- Original Message -----
From: "Rob van Maris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 1:39 AM
Subject: RE: Errors


>
>
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Emile
> >
> > just a suggestion (albeit from a lesser mortal) - to put the
> > class and function name into errors.  I've struggled for a
> > while trying to find the problem I was experiencing, for it
> > to end up being something completely different to what I had
> > interpreted the error as.  Had I known the function that
> > threw the error, it would've saved me a lot of time.
>
> There's no need for this, since Log4J can easily be configured to
> include this info in each log message. This is done by setting up an
> appropriate layout pattern, see:
> http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.
> html
>
> Rob van Maris
> Technical Consultant
>
> Quantiq
> xmedia & communication solutions
>
> Koninginneweg 11-13
> 1217 KP Hilversum
>
> T    +31 (0)356257211
> M    +31 (0)651444006
> E    [EMAIL PROTECTED]
> W   http://www.quantiq.com
>
>
>
>


Reply via email to