Skip to content

HDDS-14762. Explicitly pass log4j.properties for reload4j#9861

Merged
adoroszlai merged 1 commit intoapache:masterfrom
harshith-21:HDDS-14762
Mar 4, 2026
Merged

HDDS-14762. Explicitly pass log4j.properties for reload4j#9861
adoroszlai merged 1 commit intoapache:masterfrom
harshith-21:HDDS-14762

Conversation

@harshith-21
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

HDDS-14762: Explicitly pass log4j.properties for reload4j instead of relying on classpath discovery

Please describe your PR in detail:
Explicitly pass -Dlog4j.configuration pointing to log4j.properties for all Ozone daemon components (OM, SCM, Datanode, S3G, HTTPFS, CSI, Recon) instead of relying on classpath discovery. This ensures reload4j picks up the correct configuration deterministically.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-14762

How was this patch tested?

tested in local env with ozone 1.4.1 by replacing the shell script.

Copy link
Copy Markdown

@yandrey321 yandrey321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@adoroszlai adoroszlai changed the title HDDS-14762: Explicitly pass log4j.properties for reload4j HDDS-14762. Explicitly pass log4j.properties for reload4j Mar 4, 2026
@adoroszlai adoroszlai merged commit 38dd778 into apache:master Mar 4, 2026
30 of 31 checks passed
@adoroszlai
Copy link
Copy Markdown
Contributor

Thanks @harshith-21 for the patch, @yandrey321 for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants