spring-framework / org.springframework.aop.interceptor / AbstractTraceInterceptor / setLogExceptionStackTrace

setLogExceptionStackTrace

open fun setLogExceptionStackTrace(logExceptionStackTrace: Boolean): Unit

Set whether to pass an exception to the logger, suggesting inclusion of its stack trace into the log. Default is "true"; set this to "false" in order to reduce the log output to just the trace message (which may include the exception class name and exception message, if applicable).

Since
4.3.10