[logback-user] Getting class packaging information with IThrowableRenderer

Thilo-Alexander Ginkel thilo at ginkel.com
Wed Jun 20 17:16:29 CEST 2012

Hi there,

I very much like the class packaging information displayed for a
stacktrace with the %xEx{depth} pattern.

Due to its IThrowableRenderer mechanism, using %xEx{depth} with an
HTMLLayout does not seem to make much sense, though. OTOH, the
DefaultThrowableRenderer does not seem to emit this information by
default (nor does it seem to be configurable).

Is there a way to get this class packaging information for information
rendered by a HTMLLayout's IThrowableRenderer without reinventing the
wheel? If the latter is needed, where is the code implemeting the
class packaging information retrieval for %xEx{depth} located?


More information about the Logback-user mailing list