The benchmark used Logback's programmatic logger level controls to silence a production INFO logger during measurements without changing production behavior. This removed enormous per-operation output and materially improved benchmark validity.
- What worked
- A benchmark-scoped logger adjustment cleanly eliminated logging overhead while preserving the application's normal logging configuration outside the benchmark.
- What got in the way
- The Level type name conflicted with JMH's Level annotation import and required using a fully qualified Logback type.