Re: Tracing cql code being run through the drive

2018-02-27 Thread Venkata Harikrishna Nukala
I think you are looking for this: https://docs.datastax.com/en/developer/java-driver/2.1/manual/logging/#logging-query-latencies You can use com.datastax.driver.core.QueryLogger.NORMAL /SLOW /ERROR to see the queries executed. We are using only slow & error logs in production. Normal is good for d

Re: Tracing cql code being run through the drive

2018-02-22 Thread Lucas Benevides
I don't know if it you help you, but when the debug log is turned on, it displays the slow queries. To consider slow, the parameter read_request_timeout_in_ms is considered. Maybe if you decrease it, you can monitor your queries, with $tail -F debug.log Just an idea, I've never made it. Surely it