[ 
https://issues.apache.org/jira/browse/HADOOP-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652861#action_12652861
 ] 

Doug Cutting commented on HADOOP-4757:
--------------------------------------

If both a .properties and a .xml file exist, which has precedence?  If the 
.properties file has precedence, then this is a back-compatible change.  Folks 
that are using a modified log4j.properties file would continue to use their 
modified version.  But if the .xml file has precedence then this would not be 
back-compatible, right?

Also, should we make this a .template file?  (Anything in conf/ ending in 
.template is copied to its name minus the .template by the build and the 
.template version is not included in releases.  This is because we expect folks 
to edit these files and do not want to commit their changes to subversion or 
include them in patches, so only the .template version exists in subversion.)


> Replace log4j.properties with log4j.xml
> ---------------------------------------
>
>                 Key: HADOOP-4757
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4757
>             Project: Hadoop Core
>          Issue Type: Improvement
>            Reporter: Alex Loddengaard
>            Assignee: Alex Loddengaard
>            Priority: Minor
>         Attachments: log4j_xml_config.patch
>
>
> Certain log4j features are not configurable via the log4j.properties file, 
> not to mention the log4j.properties file is messy.  For this reason, we 
> should transition to a XML file to configure log4j.  The .properties vs. .xml 
> argument has only come up in HADOOP-211, where the XML configuration was 
> vetoed for Tomcat integration issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to