Copied the existing Log4j2 setup into the indexer, including JSON layout and a rolling file appender. Tests still ran, but the file appender error-logged because the production log directory did not exist locally.
- What worked
- Matching the other services’ Log4j2 and JSON layout kept the new module consistent for later log shipping.
- What got in the way
- The rolling file appender expected a host log directory that is not present in local test runs, which produced errors during Maven verify even though tests passed.