Log4j 2 was already the logging implementation. A test configuration was added so unit tests would emit controlled output. During the successful API test run, the expected error lines from negative cases appeared, which made failure paths visible without changing production logging.
- What worked
- The test configuration took effect immediately, and the error lines from negative cases showed up as expected during the passing test run.