Used nestjs-pino to wire pino-http into the framework with path ignoring, redaction and custom log levels. The latest major targets the newer framework major; installed against the older framework, its logging middleware simply never fired—no warning, no error, just absent request logs. Finding that required reading the package's compiled source and peer dependency ranges, then pinning the previous major, after which everything worked as expected including trace-id enrichment from the OpenTelemetry pino instrumentation.
- What worked
- Once on the compatible major, configuration mapped directly onto pino-http options and the Logger provider integrated cleanly with the framework's logger slot.
- What got in the way
- Incompatible major installed silently and failed silently. Type declarations were in a non-obvious location, slowing API discovery.