Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AB8211A99 for ; Sun, 18 May 2014 17:05:57 +0000 (UTC) Received: (qmail 77076 invoked by uid 500); 18 May 2014 16:40:53 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 57033 invoked by uid 500); 18 May 2014 16:15:52 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 49296 invoked by uid 99); 18 May 2014 15:58:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 May 2014 15:58:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.184.75.220] (HELO mx.hft-leipzig.de) (212.184.75.220) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 May 2014 15:57:54 +0000 Received: from securemail.hft-leipzig.de (securemail.hft-leipzig.de [212.184.75.200]) by mx.hft-leipzig.de with smtp (TLS: TLSv1/SSLv3,256bits,AES256-SHA) id 7ffb_0152_d1afb0e8_8ece_4da9_bb78_d434f7c24cb1; Sun, 18 May 2014 17:57:32 +0200 Received: from [192.168.2.123] (p508A6E78.dip0.t-ipconnect.de [80.138.110.120]) by securemail.hft-leipzig.de (Postfix) with ESMTPSA id E533A1CE2DD for ; Sun, 18 May 2014 17:57:32 +0200 (CEST) Message-ID: <5378D86B.9070607@hft-leipzig.de> Date: Sun, 18 May 2014 17:57:31 +0200 From: =?ISO-8859-15?Q?Sebastian_G=E4de?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: user@hadoop.apache.org Subject: where to put log4j.properties for logging out of MR job? Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'd like to log events within my MR application using Flume writing to a central log file. I've followed http://flume.apache.org/releases/content/1.4.0/FlumeUserGuide.html#log4j-appender putting the stuff into Hadoop's log4j.properties and copying it to Hadoop's conf directory on all nodes. However, my in-application events are only logged to stdout (I can see them using the YARN webapp) but not to Flume. Although I thought Hadoop's conf directory is added to classpath, it does not seem to work for me. Could you please tell me where I should put the log4j.properties? Cheers Seb.