Request/Response logging is enabled under debug
mode but output as trace
mode so is never output to the logs
#834
Labels
bug
Indicates an unexpected problem or unintended behavior
Thank you for reporting a bug! We appreciate it very much. Issues are a big input into the priorities for Pact-JS development
All italic text in this template is safe to remove before submitting
Thanks again!
Software versions
Please provide at least OS and version of pact-js
node --version
v16.13.1Issue Checklist
Please confirm the following:
Expected behaviour
setting
debug
in the logs, outputs request/response logging when using Verifier in pact-jsActual behaviour
request/response logging is enabled, but under
trace
mode.Steps to reproduce
Run pact-verify with logs output to
debug
Relevant log files
Initial PR raised here #462
Required entry log level dropped to debug here efa1e10#diff-bcf94b082b5b493850358e0d5c89b94a20bf5fac5e6e5261c339688891f16047R131
associated code here
https://github.com/pact-foundation/pact-js/blob/master/src/dsl/verifier.ts#L214
and here
pact-js/src/dsl/verifier.ts
Line 234 in b73fa05
want updating to
logger.debug
:)The text was updated successfully, but these errors were encountered: