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

Split off YAML configuration into its own module #2142

Closed
wants to merge 3 commits into from

Conversation

ppkarwasz
Copy link
Contributor

@ppkarwasz ppkarwasz commented Dec 30, 2023

This PR splits YamlConfiguration into its own module and removes Jackson from log4j-core's optional dependencies.

Changes

  • YamlConfigurationFactory is moved to a new log4j-config-yaml module together with YAML specific tests,
  • Converts the configuration of 3 log4j-core-test from YAML to XML, since the tests are not YAML specific,
  • Removes log4j2-2134.yaml, which was referenced in JiraLog4j2_2134Test, but in practice the DefaultConfiguration was used instead.

@ppkarwasz
Copy link
Contributor Author

I rebase the PR on top of #2155, so that we can immediately remove Jackson.

log4j-config-yaml/pom.xml Outdated Show resolved Hide resolved
src/changelog/.3.x.x/create_config_yaml.xml Show resolved Hide resolved
This splits `YamlConfiguration` into its own module and removes
`jackson-dataformat-yaml` from `log4j-core`'s optional dependencies.
@ppkarwasz ppkarwasz closed this Jan 5, 2024
@ppkarwasz ppkarwasz deleted the config-yaml branch January 5, 2024 17:24
@ppkarwasz ppkarwasz restored the config-yaml branch January 5, 2024 17:24
@ppkarwasz ppkarwasz deleted the config-yaml branch January 5, 2024 17:24
@ppkarwasz
Copy link
Contributor Author

This has actually been successfully merged. I just deleted the branch too soon.

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