Re: Logging Cassandra queries

2013-05-21 Thread aaron morton
> (but still the list of classes would be helpful :) ) The source code is the most up to date list of the classes. This is a talk I did on Cassandra Internals at Apache Con in Feb 2013, unfortunately it looks like the videos will never be released owing to technical snafu's http://www.slideshar

Re: Logging Cassandra queries

2013-05-20 Thread Ilya Kirnos
sure, i think it'd be a useful feature On Sat, May 18, 2013 at 4:13 PM, Tomàs Núnez wrote: > If you're looking for logging like "get keyX with CL quorum and slice Y >> took n millis" > > > That would be even better! Maybe should I file a ticket in Cassandra Jira > for this feature? Do you think

Re: Logging Cassandra queries

2013-05-18 Thread Tomàs Núnez
> > If you're looking for logging like "get keyX with CL quorum and slice Y > took n millis" That would be even better! Maybe should I file a ticket in Cassandra Jira for this feature? Do you think it would be helpful? BTW, just "get keyX" or "set keyX" would work for me. I'll check org.apache.c

Re: Logging Cassandra queries

2013-05-18 Thread Ilya Kirnos
If you're looking for logging like "get keyX with CL quorum and slice Y took n millis" there's nothing like that from what I could find. We had to modify c* source (CassandraServer.java) to add this query logging to the thrift codepath. On May 18, 2013 3:20 PM, "Tomàs Núnez" wrote: > Yes, I read

Re: Logging Cassandra queries

2013-05-18 Thread Tomàs Núnez
Yes, I read how to do that here, as well: http://www.datastax.com/docs/1.1/configuration/logging_options But I didn't know what classes to enable logging for the queries... Is there any document with the list of classes with a bit explanation for each of them? I can't find any, and I don't underst

Re: Logging Cassandra queries

2013-05-17 Thread aaron morton
> And... could I be more precise when enabling logging? Because right now, with > log4j.rootLogger=DEBUG,stdout,R I'm getting a lot of information I won't use > ever, and I'd like to enable just what I need to see gets and seds…. see the example at the bottom of this file about setting the log l

Logging Cassandra queries

2013-05-17 Thread Tomàs Núnez
Hi! For quite time I've been having some unexpected loadavg in the cassandra servers. I suspect there are lots of uncontrolled queries to the cassandra servers causing this load, but the developers say that there are none, and the load is due to cassandra internal processes. Trying to get to the