Could you log failed validations on warning level, and keep non-failed validations at debug?
If you have lots of successes and only a few failures this would make the output a lot easier to read.
|
debug( |
|
`Validation results [${oasRequest.method} ${oasRequest.path}] ` + |
|
JSON.stringify(validationResults, null, 2), |
|
); |