[
https://issues.apache.org/jira/browse/HADOOP-18631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viraj Jasani updated HADOOP-18631:
----------------------------------
Release Note:
1. Migrating Async appenders from code to log4j properties for namenode audit
logger as well as datanode/namenode metric loggers
2. Provided sample log4j properties on how we can configure AsyncAppender to
wrap RFA for the loggers
3. Incompatible change as three hdfs-site configs are no longer in use, they
are to be replaced with log4j properties. Deprecated them, added javadoc and
log to indicate the log4j replacement rather than relying on the configs. The
configs:
- dfs.namenode.audit.log.async
- dfs.namenode.audit.log.async.blocking
- dfs.namenode.audit.log.async.buffer.size
4. Namenode audit logger as well as datanode/namenode metric loggers now use
SLF4J logger rather than log4j logger directly
was:
- Migrating Async appenders from code to log4j properties for namenode audit
logger as well as datanode/namenode metric loggers
- Provided sample log4j properties on how we can configure AsyncAppender to
wrap RFA for the loggers
- Incompatible change as three hdfs-site configs are no longer in use, they are
to be replaced with log4j properties. Deprecated them, added javadoc and log to
indicate the log4j replacement rather than relying on the configs. The configs:
- dfs.namenode.audit.log.async
- dfs.namenode.audit.log.async.blocking
- dfs.namenode.audit.log.async.buffer.size
- namenode audit logger as well as datanode/namenode metric loggers now use
SLF4J logger rather than log4j logger directly
> Migrate Async appenders to log4j properties
> -------------------------------------------
>
> Key: HADOOP-18631
> URL: https://issues.apache.org/jira/browse/HADOOP-18631
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> Before we can upgrade to log4j2, we need to migrate async appenders that we
> add "dynamically in the code" to the log4j.properties file. Instead of using
> core/hdfs site configs, log4j properties or system properties should be used
> to determine if the given logger should use async appender.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]