#1251 Noisy logging
Issue created by
TimothyJones
Software versions
Please provide at least OS and version of pact-js
•
OS: Mac OSX 14.4.1
•
Consumer Pact library: pact-js 13.1.5
•
Provider Pact library: N/A
•
Node Version: v20.12.1
Issue Checklist
Please confirm the following:
• I have upgraded to the latest
• I have the read the FAQs in the Readme
• I have triple checked, that there are
no unhandled promises in my code and have
read the section on intermittent test failures
• I have set my log level to debug and attached a log file showing the complete request/response cycle
• For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem
Expected behaviour
Default run doesn't print any logs from pact internals
Actual behaviour
Default run prints a lot of logs like this:
2024-11-17T06:17:44.288511Z INFO tokio-runtime-worker pact_mock_server::hyper_server: Received request POST /foo/bar/whatever
2024-11-17T06:17:44.289298Z INFO tokio-runtime-worker pact_mock_server::hyper_server: Request matched, sending response
Steps to reproduce
Run a consumer test
Relevant log files
pact-foundation/pact-js