You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Rieser, Michael (SCI TW)" <Mi...@stercomm.com> on 2004/12/08 19:40:46 UTC
FW: ThrowableRenderer?
> Is it possible to override the default handling of Exceptions/Throwables that work for both the following methods
>
> I've written an ExceptionRenderer which will work if the Throwable is logged this way:
> logger.debug(new Exception("error message");
>
> but won't work for this type
> logger.debug("error message", new Exception("error message");
>
> I've Googled and checked the FAQ with no success.
>
> Any suggestions?
>
> Thanks,
> Mike