Tuesday, February 3, 2015

Enable 'org.thymeleaf' TRACE log in Spring Boot

To enable 'org.thymeleaf' TRACE log in Spring Boot,

trying to add the following property in your application.properties won't work:

logging.level.org.thymeleaf=TRACE

because of LevelRemappingAppender.

Reference org.springframework.boot.logging.logback.DefaultLogbackConfiguration or defaults.xml.

So you should add the following properties:

logging.level.org.thymeleaf=TRACE
logging.level.org.springframework.boot=TRACE

Reference:
https://github.com/spring-projects/spring-boot/issues/2443

No comments:

Post a Comment