[ 
https://issues.apache.org/jira/browse/CASSANDRA-15047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RAVI KIRAN REDDY MADIREDDY updated CASSANDRA-15047:
---------------------------------------------------
    Description: 
As per
 https://issues.apache.org/jira/browse/CASSANDRA-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 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
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [link 
title|http://example.com/][logback.xml|[http://example.com|http://example.com/]|http://example.com]/]

[^logback.xml]

  was:
As per
https://issues.apache.org/jira/browse/CASSANDR[Link|https://issues.apache.org/jira/projects/CASSANDRA/issues/CASSANDRA-14848?filter=allopenissues]A-12403

I tried to enable slow query logging with below steps on Cassandra 3.11.4 , but 
not able to log slow query's .seems its merged in 3.10 not sure if anything 
changed in 3.11.4 

there was dicussion in renaming 
{code:java}
slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
{code:java}
 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
{code}
In cassandra.yaml
{code:java}
# can be identified. Set this value to zero to disable slow query logging. 
slow_query_log_timeout_in_ms: 500{code}
Attached is the logback.xml i am using [link 
title|http://example.com][logback.xml|[http://example.com]|http://example.com]/]

[^logback.xml]


> Slow Query Logger  in Cassandra 3.11.4
> --------------------------------------
>
>                 Key: CASSANDRA-15047
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15047
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Observability
>            Reporter: RAVI KIRAN REDDY MADIREDDY
>            Priority: Minor
>             Fix For: 3.11.4
>
>         Attachments: logback.xml
>
>
> As per
>  https://issues.apache.org/jira/browse/CASSANDRA-12403
> I tried to enable slow query logging with below steps on Cassandra 3.11.4 , 
> but not able to log slow query's .seems its merged in 3.10 not sure if 
> anything changed in 3.11.4 
> there was dicussion in renaming 
> {code:java}
> slow_query_log_timeout_in_ms & log_slow_query_log_timeout_in_ms{code}
> {code:java}
>  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
> {code}
> In cassandra.yaml
> {code:java}
> # can be identified. Set this value to zero to disable slow query logging. 
> slow_query_log_timeout_in_ms: 500{code}
> Attached is the logback.xml i am using [link 
> title|http://example.com/][logback.xml|[http://example.com|http://example.com/]|http://example.com]/]
> [^logback.xml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to