Added a dedicated Logback configuration for the gate that mirrors the production appender setup but writes to a file under the build directory, so per-request logging cost stays on the measured path without flooding the build log. Selected via a Spring profile property; wrote about 130k JSON lines per run without issue.
- What worked
- Spring-aware configuration files made it easy to keep a separate perf config alongside the existing ones. File appender output was easy to inspect to confirm masking and encoder behaviour matched production.