gavlyukovskiy/spring-boot-data-source-decorator

sql cannot print

9527dong opened this issue · 1 comments

The jar package I use is:

        <dependency>
            <groupId>com.github.gavlyukovskiy</groupId>
            <artifactId>datasource-proxy-spring-boot-starter</artifactId>
            <version>1.8.1</version>
        </dependency>

My application.yml configuration is:

logging:
  level:
    net.ttddyy.dsproxy.listener.logging: DEBUG

But the sql is not printed in my logs, what is the reason?

I am using spring data , spring boot version is 2.7.4.

@9527dong I'm afraid that's not enough information to help you. Most likely something is wrong with your logging configuration, with that I cannot help you.