按照
https://issues.apache.org/jira/browse/CASSANDRA-12403
我尝试使用Cassandra 3.11.4上的以下步骤启用慢速查询日志记录,但无法查询它们是什么问题,或者我错过了任何步骤。
`/nodetool getlogginglevels
Logger Name Log Level
ROOT INFO
com.thinkaurelius.thrift ERROR
org.apache.cassandra DEBUG
org.apache.cassandra.db DEBUG
org.apache.cassandra.db.monitoring DEBUG
In cassandra.yaml
# can be identified. Set this value to zero to disable slow query logging.
slow_query_log_timeout_in_ms: 500
qazxsw poi [默认logback xml] [1]
cat logback.xml
步骤是正确的,你应该检查system.log是否有任何记录的慢查询。此外,您需要检查创建会话和事件表的system_traces键空间。