Hi @deniswsrosa,
I tried applying query logging with springboot 2.4 and springdata couchbase 4.1.1 with couchbase 7 beta server following your article.
But queries are not logged.Below is my logback-spring.xml and I have logback-classic.2.3 jar in classpath.
There should be an “application.properties” file in your sourcetree.
Add this into it: logging.level.org.springframework.data.couchbase.repository.query: DEBUG
Can you please try logging the org.springframework.data.couchbase.core.query package instead? Let me know if that works.
The Spring Data Couchbase 4 SDK has been almost completely rewritten while compared with the previous version, so this specific item might have been left out. In both cases, please feel free to follow this issue and comment on it if you need anything else: https://github.com/spring-projects/spring-data-couchbase/issues/1045 .