Troubleshooting Cassandra C# driver, including seeing CQL statements

Author: Dan Csharpster

Originally Sourced from:

We have a ASP.NET 4.5 webapi solution, which writes data to Cassandra. We are having an issue with a delete operation not working. We'd like to see what is going on with the C# driver under the hood. We've set the CassandraTraceSwitch to Verbose, but it doesn't give much useful data. I'd like to see the actual queries it's generating and executing against Cassandra, as well as the response it gets back.