[ https://issues.apache.org/jira/browse/CASSANDRA-18219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683460#comment-17683460 ]
Brad Schoening commented on CASSANDRA-18219: -------------------------------------------- +1 on simple logging Would be nice to have the keyspace+table+type in 4.0.x/4.1. Is it worth considering a separate bug for just that simple two line fix (excluding the debug logging)? > Warning message on aggregation queries doesn't specify table name or > aggregate type > ----------------------------------------------------------------------------------- > > Key: CASSANDRA-18219 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18219 > Project: Cassandra > Issue Type: Improvement > Components: Observability/Logging > Reporter: Brad Schoening > Assignee: Stefan Miklosovic > Priority: Normal > Time Spent: 10m > Remaining Estimate: 0h > > The existing aggregation query warning messages in cassandra.log from > SelectStatement.java: > _'[WARN] Aggregation query used without partition key'_ > {_}'{_}{_}[WARN]{_} _Aggregation query used on multiple partition keys > (IN restriction)'_ > are missing the helpful details which would assist users in quickly > identifying the offending query. The table name and type of aggregation would > be useful additions in the WARN message. > In addition, following the example of the slow query logger and printing out > the query string at DEBUG level would be especially helpful. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org