Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D20E311306 for ; Tue, 10 Jun 2014 15:22:03 +0000 (UTC) Received: (qmail 80485 invoked by uid 500); 10 Jun 2014 15:22:03 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 79918 invoked by uid 500); 10 Jun 2014 15:22:03 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 79899 invoked by uid 99); 10 Jun 2014 15:22:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 15:22:02 +0000 Date: Tue, 10 Jun 2014 15:22:02 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-2623) AbstractMetricsImpl's toString is excessively verbose MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser updated ACCUMULO-2623: --------------------------------- Labels: newbie (was: ) > AbstractMetricsImpl's toString is excessively verbose > ----------------------------------------------------- > > Key: ACCUMULO-2623 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2623 > Project: Accumulo > Issue Type: Improvement > Components: tserver > Affects Versions: 1.5.0, 1.5.1 > Reporter: John Vines > Labels: newbie > > AbstractMetricsImpl, which handles all the metrics logging in the tserver (maybe master too), does it's logging via it's toString method. This is built from a StringBuilder, starting with the commons-lang ToStringBuilder utility which spits out the class name, hash code, and and content start. This information, I feel, is useless (except class name), so we should trim down the information included. > Otherwise, you get lines like this- > {code}20140403115847CDT Metric: commitPrep: org.apache.accumulo.server.metrics.AbstractMetricsImpl$Metric@49c237ca[count=2164,average=0,minimum=0,maximum=138] > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)