Troubleshooting Cassandra C# driver, including seeing CQL statements


Author: Dan Csharpster

Originally Sourced from: https://stackoverflow.com/questions/34600046/troubleshooting-cassandra-c-sharp-driver-including-seeing-cql-statements

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.