Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 0082F9EA4 for ; Wed, 10 Oct 2012 19:37:04 +0000 (UTC) Received: (qmail 15116 invoked by uid 500); 10 Oct 2012 19:37:03 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 15074 invoked by uid 500); 10 Oct 2012 19:37:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 15065 invoked by uid 99); 10 Oct 2012 19:37:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 19:37:03 +0000 Date: Wed, 10 Oct 2012 19:37:03 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <940523169.21859.1349897823685.JavaMail.jiratomcat@arcas> In-Reply-To: <1376191021.3658.1314814511041.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2304) log libhdfs messages to syslog 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/HDFS-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HDFS-2304: ------------------------------ Target Version/s: 2.0.3-alpha Affects Version/s: 1.0.0 2.0.0-alpha Nit: - In hdfs.c now that you're using the macros which log "ERROR", "WARN" etc you can remove that part of the string from the message. Eg instead of {code} ERROR( "ERROR: foo" {code} do {code} ERROR( "foo" {code} Otherwise looks great, thanks for working on this. > log libhdfs messages to syslog > ------------------------------ > > Key: HDFS-2304 > URL: https://issues.apache.org/jira/browse/HDFS-2304 > Project: Hadoop HDFS > Issue Type: Improvement > Components: libhdfs > Affects Versions: 1.0.0, 2.0.0-alpha > Reporter: Eli Collins > Assignee: Stephen Fritz > Priority: Minor > Labels: newbie > Attachments: HDFS-2304.patch > > > libhdfs currently logs to stdout. Not all applications that link to libhdfs capture stdout so it would be useful to have the logs goto syslog as well (eg see fuse_dfs.h macros that log to both). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira