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

Enable custom logback configuration support #99

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

richard-axual
Copy link
Contributor

@richard-axual richard-axual commented Apr 16, 2024

Implement Logback Configuration for KSML which can read a file location from the environment variable, and loads it.
Precedence logic is

  1. If system property logback.configurationFile is set, use the file referenced there
  2. If the environment variable LOGBACK_CONFIGURATION_FILE is set, use the file referenced there
  3. Fallback to the DefaultJoranConfiguration logic, looking for logback-test.xml and logback.xml

Tested with a local build with the provided docker compose, the custom logback configuration was loaded

@jeroenvandisseldorp jeroenvandisseldorp merged commit d04b86b into Axual:main Apr 17, 2024
1 check passed
@jeroenvandisseldorp jeroenvandisseldorp deleted the configurable-logging branch April 17, 2024 15:17
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