log all the query statement

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

log all the query statement

鄢来琼

Hi all,

 

Cassandra 2.1.2 is used in my project, but some node is down after executing query some statements.

Could I configure the Cassandra to log all the executed statement?

Hope the log file can be used to identify the problem.

Thanks.

 

Peter

 

Reply | Threaded
Open this post in threaded view
|

Re: log all the query statement

Anishek Agarwal
Hey Peter,

This is from the perspective of 2.0.13 but there should be something similar in your version. Can you enable debug log for cassandra and see if the log files have additional info. Depending on how soon/later in you test you get the error, you might also want to modify the "maxBackupIndex" or "maxFileSize" to make sure u keep enough log files around.

anishek

On Thu, Apr 2, 2015 at 11:53 AM, 鄢来琼 <[hidden email]> wrote:

Hi all,

 

Cassandra 2.1.2 is used in my project, but some node is down after executing query some statements.

Could I configure the Cassandra to log all the executed statement?

Hope the log file can be used to identify the problem.

Thanks.

 

Peter