ptlrs commented on code in PR #9229:
URL: https://github.com/apache/ozone/pull/9229#discussion_r2482995671


##########
hadoop-ozone/dist/src/shell/ozone/ozone:
##########
@@ -107,7 +109,7 @@ function ozonecmd_case
       ozone_deprecate_envvar HDDS_DN_OPTS OZONE_DATANODE_OPTS
       OZONE_DATANODE_OPTS="${RATIS_OPTS} ${OZONE_DATANODE_OPTS}"
       
OZONE_DATANODE_OPTS="-Dlog4j.configurationFile=${OZONE_CONF_DIR}/dn-audit-log4j2.properties,${OZONE_CONF_DIR}/dn-container-log4j2.properties
 ${OZONE_DATANODE_OPTS}"
-      
OZONE_DATANODE_OPTS="-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 ${OZONE_DATANODE_OPTS} ${OZONE_MODULE_ACCESS_ARGS}"
+      OZONE_DATANODE_OPTS="${OZONE_DATANODE_OPTS} ${OZONE_MODULE_ACCESS_ARGS}"

Review Comment:
   Yes, this is already happening. 
   Log4Jv2's AsyncLogger was used only for auditing. This PR removes this.
   Log4Jv1's AsyncAppender is used for all regular logging including 
dependencies and libraries. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to