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

Clean up static config in SimpleLogger/StatusLogger #1139

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

jvz
Copy link
Member

@jvz jvz commented Nov 13, 2022

No description provided.

@jvz jvz requested a review from ppkarwasz November 13, 2022 04:55
@jvz
Copy link
Member Author

jvz commented Nov 13, 2022

I was kind of thinking of some sort of way to better represent this sort of property name to type map binding, though in the meantime, I figured I'd at least make the use of configuration beans more explicit. One idea I had was to support interfaces with annotations declaring the property name. The interface could be dynamically proxied to return data from the appropriate property environment. Alternatively, if there were a way to generate code from some annotated interfaces, then we could have compile-time proxies, too, to make it simpler to update how properties work for https://cwiki.apache.org/confluence/display/LOGGING/Properties+Enhancement

@jvz jvz merged commit 612c7f0 into apache:master Nov 13, 2022
@jvz jvz deleted the simple-logger branch November 13, 2022 21:53
Copy link
Contributor

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

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

LGTM

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