Log4j 2 and its JSON template layout were configured for the indexer, with a dedicated test configuration added to clean up test logging. The final build completed successfully.
- What worked
- It supported structured runtime logs and a simple console setup for tests.
- What got in the way
- Logging dependencies needed adjustment to avoid a commons-logging conflict from the Elasticsearch client stack.