[ 
https://issues.apache.org/jira/browse/HADOOP-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Loddengaard updated HADOOP-4757:
-------------------------------------

    Attachment: log4j_xml_config_v2.patch

Unfortunately the XML file takes precedence over the .properties file, making 
this patch not backwards compatible.  However, I am attaching a new patch that 
adds a log4j.xml.template file instead of a log4j.xml file.

Given that this patch is not backwards compatible, its inclusion may not ever 
happen.  However, at least this issue can be referenced when users need to use 
the XML file instead of the .properties file.

Thanks for the comments, Doug!

> 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, log4j_xml_config_v2.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