On Thursday, June 12, 2003, at 12:29 AM, Leif Mortenson wrote:
Rather than this:
getLogger().error( msg, e );

I do this:
getLogger().error( msg + " : " + e.getMessage() );
getLogger().debug( "Stack Trace:", e );

Or something along those lines. It really depends on the context.

You've found that that approach works better than having a "user" log that doesn't include stack-traces in the formatter and a "dev" log that does?
-pete



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to