Hi all,
I am researching about this question.
I had tried that way: DataStax Java Driver for Apache Cassandra User Mailing List ›How to see the cql query being executed?
I just modified the logback.xml:
<logger name="com.datastax.driver.core.QueryLogger.NORMAL" level="ALL"/>
I checked "system.log" and "debug.log", and I can't find any CQL statement.
Environment and Step:
1.docker run -e DS_LICENSE=accept -p 9042:9042 --name my-dse -d datastax/dse-server:6.7.2
2.docker cp logback.xml my-dse:/opt/dse/resources/cassandra/conf/logback.xml
3.docker stop my-dse
4.docker start my-dse
5.docker exec -it my-dse cqlsh
6.execute some cql statement.
7.check the system.log and debug.log.
Attachment is my full logback.xml:logback.xml
How to see the cql query?