I am trying to debug an issue with Jackson and I would like to see log entries from com.fasterxml.jackson
. Unfortunately this solution How to see org.codehaus.jackson log messages - using logging.properties doesn't do anything for me because Spring Boot 2 uses the updated com.fasterxml.jackson
package, and I'm using logback for my log config. I am using Spring Boot 2.1.0.RELEASE which uses Jackson 2.9.
I have the following in logback-spring.xml
<logger name="com.fasterxml.jackson" level="TRACE" additivity="false">
<appender-ref ref="CONSOLE" />
</logger>
(I have tried with additivity set to true as well)
and the following in application.properties
logging.level.com.fasterxml.jackson=TRACE
but nothing is showing up in my logs for Jackson.