Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noisy logging #1251

Open
3 of 5 tasks
TimothyJones opened this issue Nov 17, 2024 · 0 comments
Open
3 of 5 tasks

Noisy logging #1251

TimothyJones opened this issue Nov 17, 2024 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior triage This issue is yet to be triaged by a maintainer

Comments

@TimothyJones
Copy link
Contributor

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

@TimothyJones TimothyJones added bug Indicates an unexpected problem or unintended behavior triage This issue is yet to be triaged by a maintainer labels Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior triage This issue is yet to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant