[
https://issues.apache.org/jira/browse/HDDS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611482#comment-16611482
]
Xiaoyu Yao commented on HDDS-423:
---------------------------------
Agree with [~anu]. With the dedicate log4j.properties for ozone, how do we plan
to handle multiple log4j.properties files in the classpath. If i remember
correctly in log4j1, the first one appear in the class path will be loaded and
the others will be ignored. I can't find change in the classpath in this patch,
do you see any potential issue in deployment?
> Introduce an ozone specific log4j.properties
> --------------------------------------------
>
> Key: HDDS-423
> URL: https://issues.apache.org/jira/browse/HDDS-423
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Minor
> Fix For: 0.2.1
>
> Attachments: HDDS-423-ozone-0.2.1.001.patch
>
>
> Currently the ozone distribution uses the common log4j.properties from the
> hadoop-common project.
>
> For this reason it's very hard to define default settings just for the ozone.
> For example for ozone we can turn off the warning of the NativeCodeLoader
>
> I propose to maintain an ozone specific version of the log4j.properties and
> adjust the log level of the NativeCodeLoader and ratis ConfUtils there
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]