Repository query logging in springdatacouchbase 4.1.1

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.

<configuration debug="true">
	<appender name="STDOUT"
			<pattern>%d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
		level="DEBUG" />
	<root level="info">
		<appender-ref ref="STDOUT" />

What could have gone wrong here?

There should be an “” file in your sourcetree.
Add this into it: DEBUG

Hi @iisuru!

Can you please try logging the 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: .

It does not work even after "" package is adapted.
I will follow this topic " "

I will wait till above github issue progresses since no progress has been made so far.


Are there any progress with this issue?

Thanks, Raman.

Looks like no

Updated 19d ago

It works now:

  level: TRACE
1 Like