cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Norris" <jnorri...@gmail.com>
Subject Re: Exception logging on server:
Date Tue, 22 Apr 2008 20:51:06 GMT
On Tue, Apr 22, 2008 at 1:32 PM, Daniel Kulp <dkulp@apache.org> wrote:

> On Tuesday 22 April 2008, Jeremy Norris wrote:
> > I think not logging the stack traces by default is a good idea.
> > However, In my opinion, the Exception class name should be logged by
> > default. Currently, only Exception.getMessage() is logged, which makes
> > it difficult to see what kinds of exceptions are being thrown when no
> > exception message is set (ie: NullPointerException, or any exception
> > for which the semantics of the exception are not included in
> > "message").
>
> Hmm...  good point.   I'll change this to:
>
>    "Application has thrown exception, unwinding now: "
>     + ex.getClass().getName() + ": "
>    + ex.getMessage());
>
> That should help.
>
> Thanks!


Great!  Thank you!

>
>
> --
> J. Daniel Kulp
> Principal Engineer, IONA
> dkulp@apache.org
> http://www.dankulp.com/blog
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message