Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
Through https://github.com/apache/cassandra/commit/dc9992a391f01ef79b74b5d9fc69fb7390184ecf#L20R322 the read command and CL is logged (under DEBUG) and it is very helpful. But I don't think I have seen the same for mutation...
It'd be nice if we could also log this for the mutation (and others?), please see the attached patch (just done on mutation) . Note also this prints the IMutation which I did wonder if it is a good idea (could the list be so large that it floods the log instead of being useful?)
sample output:
DEBUG [RPC-Thread:24] 2011-10-14 12:09:10,949 StorageProxy.java (line 171) Mutations/ConsistencyLevel is [RowMutation(keyspace='testks', key='70', modifications=[ColumnFamily(testindx [testcol:false:1@1318619350892000,])])]/ONE