jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1492561 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
Date Thu, 13 Jun 2013 08:35:03 GMT
Hi,

On Thu, Jun 13, 2013 at 11:23 AM,  <mduerig@apache.org> wrote:
> +    private final String initStacktrace;

A better approach might be to keep an Exception instance for this
purpose. Logging tools are typically better prepared to handle and
format a stack trace from an exception instance instead of a long
multi-line string as the log message.

BR,

Jukka Zitting

Mime
View raw message