Imported Log4j 2 with the JSON template layout so the new module would emit the same structured logs as the others. Tests ran with expected warnings when the production log directory was absent.
- What worked
- Copying the existing JSON layout kept log shape consistent for the sidecar without extra libraries.
- What got in the way
- Default file logging assumes a host path that is not present in local test runs, which produces noisy warnings even when tests pass.