Hello,

Another way to do it would be to create your own QueryHandler:

  *   create a class that would implement the QueryHandler interface and make 
Cassandra aware of it
  *   in that class you can maintain a list of the queries (add to this list 
when prepare method is being called) and the current query that you will get 
from the list when getPrepared it's called; you can get it from the list using 
the MD5Digest id
  *   when processPrepared is called you can replace the ? in the query string 
with the values in the QueryOptions options.getValues().

On fre, 2018-05-25 at 11:24 -0400, Nitan Kainth wrote:
Hi,

I would like to log all C* queries hitting cluster. Could someone please tell 
me how can I do it at cluster level?
Will nodetool setlogginglevel work? If so, please share example with library 
name.

C* version 3.11

Reply via email to