Skip to content

Commit

Permalink
Print full stack trace to log
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Nov 17, 2024
1 parent bc1ca02 commit a8311a9
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions core/src/main/resources/config/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,33 @@
jakarta.servlet,
sun.reflect
}}}"/>
<!-- <property name="FILE_LOG_PATTERN"-->
<!-- value="${FILE_LOG_PATTERN:-%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:-%5p} -&#45;&#45; [%18.-18t] %-40.40logger{39} : %replace(%mdc){'^ ',''}%replace(%marker: ){'^: ',''}%m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx{full,-->
<!-- org.apache.catalina,-->
<!-- org.apache.tomcat,-->
<!-- org.springframework.security.web.FilterChainProxy,-->
<!-- org.springframework.security.web.access.ExceptionTranslationFilter,-->
<!-- org.springframework.security.web.session.SessionManagementFilter,-->
<!-- org.springframework.security.web.csrf.CsrfFilter,-->
<!-- org.springframework.security.web.header.HeaderWriterFilter,-->
<!-- org.springframework.security.web.servletapi,-->
<!-- org.springframework.security.web.context.SecurityContextPersistenceFilter,-->
<!-- org.springframework.security.web.context.SecurityContextHolderFilter,-->
<!-- org.springframework.security.web.savedrequest,-->
<!-- org.springframework.security.web.authentication.AnonymousAuthenticationFilter,-->
<!-- org.springframework.security.web.ObservationFilterChainDecorator,-->
<!-- org.springframework.web.filter,-->
<!-- org.springframework.cglib,-->
<!-- org.springframework.aop,-->
<!-- org.springframework.web.servlet,-->
<!-- org.springframework.web.method,-->
<!-- java.lang.reflect.Method,-->
<!-- jakarta.servlet,-->
<!-- sun.reflect-->
<!-- }}}"/> -->

<property name="FILE_LOG_PATTERN"
value="${FILE_LOG_PATTERN:-%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:-%5p} --- [%18.-18t] %-40.40logger{39} : %replace(%mdc){'^ ',''}%replace(%marker: ){'^: ',''}%m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx{full,
org.apache.catalina,
org.apache.tomcat,
org.springframework.security.web.FilterChainProxy,
org.springframework.security.web.access.ExceptionTranslationFilter,
org.springframework.security.web.session.SessionManagementFilter,
org.springframework.security.web.csrf.CsrfFilter,
org.springframework.security.web.header.HeaderWriterFilter,
org.springframework.security.web.servletapi,
org.springframework.security.web.context.SecurityContextPersistenceFilter,
org.springframework.security.web.context.SecurityContextHolderFilter,
org.springframework.security.web.savedrequest,
org.springframework.security.web.authentication.AnonymousAuthenticationFilter,
org.springframework.security.web.ObservationFilterChainDecorator,
org.springframework.web.filter,
org.springframework.cglib,
org.springframework.aop,
org.springframework.web.servlet,
org.springframework.web.method,
java.lang.reflect.Method,
jakarta.servlet,
sun.reflect
}}}"/>
value="${FILE_LOG_PATTERN:-%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:-%5p} --- [%18.-18t] %-40.40logger{39} : %replace(%mdc){'^ ',''}%replace(%marker: ){'^: ',''}%m%n} %ex{full}}"/>

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="org.nzbhydra.logging.SensitiveDataRemovingPatternLayoutEncoder">
Expand Down

0 comments on commit a8311a9

Please sign in to comment.