Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F278765F for ; Fri, 30 Sep 2011 14:54:11 +0000 (UTC) Received: (qmail 73217 invoked by uid 500); 30 Sep 2011 14:54:11 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 73189 invoked by uid 500); 30 Sep 2011 14:54:11 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 73168 invoked by uid 99); 30 Sep 2011 14:54:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 14:54:11 +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, 30 Sep 2011 14:54:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1527E2A27EF for ; Fri, 30 Sep 2011 14:53:47 +0000 (UTC) Date: Fri, 30 Sep 2011 14:53:47 +0000 (UTC) From: "Steve Loughran (Work started) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <222701501.11580.1317394427088.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Work started] (HADOOP-6107) Have some log messages designed for machine parsing, either real-time or post-mortem 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/HADOOP-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on HADOOP-6107 started by Steve Loughran. > Have some log messages designed for machine parsing, either real-time or post-mortem > ------------------------------------------------------------------------------------ > > Key: HADOOP-6107 > URL: https://issues.apache.org/jira/browse/HADOOP-6107 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 0.21.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > > Many programs take the log output of bits of Hadoop, and try and parse it. Some may also put their own back end behind commons-logging, to capture the input without going via Log4J, so as to keep the output more machine-readable. > These programs need log messages that > # are easy to parse by a regexp or other simple string parse (consider quoting values, etc) > # push out the full exception chain rather than stringify() bits of it > # stay stable across versions > # log the things the tools need to analyse: events, data volumes, errors > For these logging tools, ease of parsing, retention of data and stability over time take the edge over readability. In HADOOP-5073, Jiaqi Tan proposed marking some of the existing log events as evolving towards stability. As someone who regulary patches log messages to improve diagnostics, this creates a conflict of interest. For me, good logs are ones that help people debug their problems without anyone else helping, and if that means improving the text, so be it. Tools like Chukwa have a different need. > What to do? Some options > # Have some messages that are designed purely for other programs to handle > # Have some logs specifically for machines, to which we log alongside the human-centric messages > # Fix many of the common messages, then leave them alone. > # Mark log messages to be left alone (somehow) -- 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