On Sep 17, 2011, at 12:26 PM, Joern Huxhorn wrote: > > The code simply looks like this: > public void log(Level level, String messagePattern, Object... args) { > if (!isEnabled(level)) return; > ParameterizedMessage message = > ParameterizedMessage.create(messagePattern, args); > performLogging(level, null, message, message.getThrowable()); > }
Thanks. This is the source of the bug. The API is currently not doing message.getThrowable(). I'll fix that shortly. But I also do like John's suggestion that ParameterizedMessage and StructuredDataMessage could be interfaces. What are your thoughts on that? Ralph --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org