Skip to content

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