use log4j to set permission to the log file
-------------------------------------------
Key: CHUKWA-160
URL: https://issues.apache.org/jira/browse/CHUKWA-160
Project: Hadoop Chukwa
Issue Type: Improvement
Components: input tools
Reporter: Jerome Boulon
use log4j to set permission to the log file, ex:
log4j.appender.CHUKWA.readPermission=
* readPermission field not present in log4j, don't do anything, file
permission will use the default
* readPermission field set to "All" then setReadable(true, false) otherwise
setReadable(true, true)
* readPermission field set to "Group"
* writePermission field not present in log4j, don't do anything, file
permission will use the default
* writePermission field set to "All" then setWritable(true, false)
otherwise setReadable(true, true)
* writePermission field set to Group"
However, it seems not possible to set permission at the group level so this may
be a potential issue that may force us to
continue using chmod for specific case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.