Hello,

I wanted to log the root cause first in the exception, so trying to use
*rEx* in the pattern layout.  However, it seems to log class packaging
information as well, e.g. [spring-webmvc-4.1.5.RELEASE.jar:4.1.5.RELEASE]
in the following example:

at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
[spring-webmvc-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
[spring-webmvc-4.1.5.RELEASE.jar:4.1.5.RELEASE]

Is there anyway to not include the packaging information with rEx option?
I debugged into RootThrowablePatternConverter, but couldn't find anyway to
avoid.

If there is no such option, then I will have to live with it.  But I would
prefer to not have the packaging information if possible.

Thanks,
Kevin

Reply via email to