Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load properties with the log4j prefix #33

Merged
merged 3 commits into from
Dec 7, 2023
Merged

Conversation

akang31
Copy link
Contributor

@akang31 akang31 commented Dec 7, 2023

As part of the fast property instrumentation effort, we are modifying locations in code that iterate over all properties in order to reduce the amount of noise.

Blitz4j only reads log4j-prefixed properties for overrides, so we change the code here to only read those, instead of first reading then filtering.

This copies up the method from Apache commons configuration https://github.com/apache/commons-configuration/blob/CONFIGURATION_1_10/src/main/java/org/apache/commons/configuration/ConfigurationConverter.java#L105

@akang31 akang31 merged commit 8838ffc into Netflix:master Dec 7, 2023
1 check passed
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.

2 participants