Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EB379847 for ; Wed, 4 Apr 2012 03:59:46 +0000 (UTC) Received: (qmail 36160 invoked by uid 500); 4 Apr 2012 03:59:46 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 36089 invoked by uid 500); 4 Apr 2012 03:59:45 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 36063 invoked by uid 99); 4 Apr 2012 03:59:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 03:59:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 04 Apr 2012 03:59:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8F31535782F for ; Wed, 4 Apr 2012 03:59:19 +0000 (UTC) Date: Wed, 4 Apr 2012 03:59:19 +0000 (UTC) From: "Roman Shaposhnik (Commented) (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <961385559.10203.1333511959648.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <301599116.9635.1333496783565.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (BIGTOP-510) log4j property must be set with property in for Flume NG pkg MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BIGTOP-510?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1324= 6002#comment-13246002 ]=20 Roman Shaposhnik commented on BIGTOP-510: ----------------------------------------- Wouldn't it be possible to parameterize log4j.properties upstream in such a= way that it would allow overrides from the command line via -Dfoo=3Dbar ? = We do it for most of the components and it works fine without changing the = content of the upstream file. =20 > log4j property must be set with property in for Flume NG pkg > ------------------------------------------------------------ > > Key: BIGTOP-510 > URL: https://issues.apache.org/jira/browse/BIGTOP-510 > Project: Bigtop > Issue Type: Bug > Components: General > Affects Versions: 0.3.0 > Environment: [CentOS 5.7 64-bit] > Reporter: Will McQueen > Assignee: Bruno Mah=C3=A9 > Fix For: 0.3.0 > > > The /etc/flume-ng/log4j.properties file is configured by default to write= to the current dir, which causes perms issues when the /etc/init.d/flume-n= g-node daemon (running as user 'flume') attempts to write it. A fix would b= e to provide log4j.properties so that the property's value specifies /var/l= og/flume-ng as the log dir, like this: > flume.log.dir=3D/var/log/flume-ng > Thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira