Re: How to log Exceptions with PatternLayout ?...
Friday, January 3, 2003 05:02 PM
While there is no way to include the exception as part of the layout pattern for PatternLayout, if you include the throwable when you log the message (ie logger.fatal("a message", exception), then it will get printed in the log. I'm pretty sure of that. Try it. -Mark