You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jackson Chung (Updated) (JIRA)" <ji...@apache.org> on 2011/10/14 21:26:11 UTC

[jira] [Updated] (CASSANDRA-3361) add logging to StorageProxy for mutations and CL

     [ https://issues.apache.org/jira/browse/CASSANDRA-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jackson Chung updated CASSANDRA-3361:
-------------------------------------

    Attachment: 3361.patch
    
> add logging to StorageProxy for mutations and CL
> ------------------------------------------------
>
>                 Key: CASSANDRA-3361
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3361
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jackson Chung
>            Priority: Minor
>         Attachments: 3361.patch
>
>
> 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:
> {noformat}
> 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
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira