On 13.6.13 9:35, Jukka Zitting wrote:
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.

I considered that but wanted to have the stack trace in the log message regardless of the logger message format configuration.

Michael

Reply via email to