Home > Blockchain >  Spring Boot JDBC Transaction Logging settings
Spring Boot JDBC Transaction Logging settings

Time:10-12

How do I set the following in Spring Boot JDBC Transaction Logging with yaml file?

org.springframework.transaction.interceptor to TRACE level

org.springframework.transaction.support to DEBUG level

The following is not working in application.yml

org:
  springframework:
    transaction:
      support: DEBUG
      interceptor: TRACE

Current Yaml:

logging:
  level:
    org:
      tomcat: INFO
      catalina: INFO

CodePudding user response:

Should be:

logging:
  level:
    org.springframework.transaction.interceptor: TRACE
    org.springframework.transaction.support: DEBUG
    org.tomcat: INFO
    org.catalina: INFO
  • Related