logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rieser, Michael \(SCI TW\)" <Michael_Rieser...@stercomm.com>
Subject FW: ThrowableRenderer?
Date Wed, 08 Dec 2004 18:40:46 GMT
> 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

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