Skip to content

Log arguments along with query #1311

Closed
Closed
@JesusTheHun

Description

@JesusTheHun

I expect this log level to display all queries that are executed :

logging:
    level:
        org.springframework.data.couchbase.repository.query: TRACE

The closest we get is with org/springframework/data/couchbase/repository/query/StringBasedCouchbaseQuery.java :

		if (LOG.isDebugEnabled()) {
			LOG.debug("Created query " + query.export());
		}

But query.export() returns an empty string.

Expected output : the query itself + the parameters used for that execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions