You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Bruno Mahé (Updated JIRA)" <ji...@apache.org> on 2012/04/12 03:12:16 UTC
[jira] [Updated] (BIGTOP-510) log4j property must be set with
property in for Flume NG pkg
[ https://issues.apache.org/jira/browse/BIGTOP-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Mahé updated BIGTOP-510:
------------------------------
Attachment: BIGTOP-510.patch
Here is a patch.
Tested locally the content is indeed modified and set to the right location
> 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é
> Fix For: 0.3.0, 0.4.0
>
> Attachments: BIGTOP-510.patch
>
>
> 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-ng-node daemon (running as user 'flume') attempts to write it. A fix would be to provide log4j.properties so that the property's value specifies /var/log/flume-ng as the log dir, like this:
> flume.log.dir=/var/log/flume-ng
> Thank you.
--
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