cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-3361) add logging to StorageProxy for mutations and CL
Date Fri, 14 Oct 2011 21:36:12 GMT

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

Jonathan Ellis resolved CASSANDRA-3361.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1
         Reviewer: jbellis
         Assignee: Jackson Chung

committed, thanks!
                
> 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
>            Assignee: Jackson Chung
>            Priority: Minor
>             Fix For: 1.0.1
>
>         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

        

Mime
View raw message