You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Michal Podsiadlowski (JIRA)" <ji...@apache.org> on 2010/02/23 12:10:28 UTC

[jira] Commented: (HADOOP-4757) Replace log4j.properties with log4j.xml

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

Michal Podsiadlowski commented on HADOOP-4757:
----------------------------------------------

If I may put my two cents in, my wish would be to *remove totally all log4j config files from jars*. When using hadoop-core.jar as client library in webserver environment it can screw all loging you have by overriding rootLogger as it did for us.  Please consider it as this can cause problems for others as well. 

> Replace log4j.properties with log4j.xml
> ---------------------------------------
>
>                 Key: HADOOP-4757
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4757
>             Project: Hadoop Common
>          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.