Search code examples
cassandrakundera

How do I enable show_sql or the equivalent in kundera for cassandra?


I have a requirement to monitor and evaluate based on cql logs.

I have tried to set show.sql/show_sql and show.cql/show_cql in persistence.xml but nothing seems to help.


Solution

  • Use this property in your persistence.xml

    <property name="kundera.show.query" value="true" />