Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A39FA7C54 for ; Fri, 14 Oct 2011 21:36:35 +0000 (UTC) Received: (qmail 2333 invoked by uid 500); 14 Oct 2011 21:36:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 2306 invoked by uid 500); 14 Oct 2011 21:36:35 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 2298 invoked by uid 99); 14 Oct 2011 21:36:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 21:36:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 21:36:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 17645308BBD for ; Fri, 14 Oct 2011 21:36:12 +0000 (UTC) Date: Fri, 14 Oct 2011 21:36:12 +0000 (UTC) From: "Jonathan Ellis (Resolved) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1156083177.15616.1318628172097.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <100564463.15283.1318620371765.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CASSANDRA-3361) add logging to StorageProxy for mutations and CL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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