avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@apache.org>
Subject Re: [Fortress] Minimizing stack traces on startup.
Date Thu, 12 Jun 2003 11:42:23 GMT
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: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message