This is an automated email from the ASF dual-hosted git repository.
abhi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new f64b4b3d2 RANGER-5248: Disable Log4J Audit Destination for Ozone in OM
container (#790)
f64b4b3d2 is described below
commit f64b4b3d29949b8666de79e3c336c5bad9960b05
Author: Abhishek Kumar <[email protected]>
AuthorDate: Wed Jan 7 18:54:19 2026 -0800
RANGER-5248: Disable Log4J Audit Destination for Ozone in OM container
(#790)
---
.github/workflows/ci.yml | 1 +
.../scripts/ozone/ranger-ozone-plugin-install.properties | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c222d56c2..c2777f49b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -207,6 +207,7 @@ jobs:
- name: Run download-archives.sh
run: |
cd dev-support/ranger-docker
+ rm -rf downloads/ozone-*
./download-archives.sh hadoop hive hbase kafka knox ozone
- name: Build all ranger-plugin images
diff --git
a/dev-support/ranger-docker/scripts/ozone/ranger-ozone-plugin-install.properties
b/dev-support/ranger-docker/scripts/ozone/ranger-ozone-plugin-install.properties
index 4fc7b9991..99c31d2a3 100644
---
a/dev-support/ranger-docker/scripts/ozone/ranger-ozone-plugin-install.properties
+++
b/dev-support/ranger-docker/scripts/ozone/ranger-ozone-plugin-install.properties
@@ -74,11 +74,11 @@ XAAUDIT.HDFS.AZURE_ACCOUNTKEY=__REPLACE_AZURE_ACCOUNT_KEY
XAAUDIT.HDFS.AZURE_SHELL_KEY_PROVIDER=__REPLACE_AZURE_SHELL_KEY_PROVIDER
XAAUDIT.HDFS.AZURE_ACCOUNTKEY_PROVIDER=__REPLACE_AZURE_ACCOUNT_KEY_PROVIDER
-XAAUDIT.LOG4J.ENABLE=true
+XAAUDIT.LOG4J.ENABLE=false
XAAUDIT.LOG4J.IS_ASYNC=false
XAAUDIT.LOG4J.ASYNC.MAX.QUEUE.SIZE=10240
XAAUDIT.LOG4J.ASYNC.MAX.FLUSH.INTERVAL.MS=30000
-XAAUDIT.LOG4J.DESTINATION.LOG4J=true
+XAAUDIT.LOG4J.DESTINATION.LOG4J=false
XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER=xaaudit
XAAUDIT.AMAZON_CLOUDWATCH.ENABLE=false