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

Adds a log4j-transform-cli tool #148

Merged
merged 3 commits into from
Dec 15, 2024
Merged

Conversation

ppkarwasz
Copy link
Contributor

@ppkarwasz ppkarwasz commented Dec 5, 2024

This PR adds a simple picocli-based tool to access the Configuration Converter API from the command line. Currently, two commands are available:

  • config-file list-formats lists the available configuration file formats.
  • config-file convert converts configuration files from one format to another (e.g., a Log4j 1 Properties file to a Log4j 2 Core XML file).

Part of apache/logging-log4j2#3220

This PR adds a simple `picocli`-based tool to access the Configuration Converter API from the command line.
Currently, two commands are available:

- `configFile listFormats` lists the available configuration file formats.
- `configFile convert` converts configuration files from one format to another (e.g., a Log4j 1 Properties file to a Log4j 2 Core XML file).

Part of apache/logging-log4j2#3220
@ppkarwasz ppkarwasz marked this pull request as ready for review December 15, 2024 07:03
@ppkarwasz ppkarwasz merged commit 82e64f2 into main Dec 15, 2024
9 checks passed
@ppkarwasz ppkarwasz deleted the feature/log4j-transform-cli branch December 15, 2024 07:52
@ppkarwasz
Copy link
Contributor Author

I am merging this, since it contains mostly new code, that is simpler to evaluate when a snapshot is published.

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.

1 participant