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

Pact-PHP <=9.x.x - How to disable log-output? #236

Open
4d4ch4u32 opened this issue Mar 4, 2022 · 0 comments
Open

Pact-PHP <=9.x.x - How to disable log-output? #236

4d4ch4u32 opened this issue Mar 4, 2022 · 0 comments

Comments

@4d4ch4u32
Copy link

4d4ch4u32 commented Mar 4, 2022

Currently, when I run a phpunit test which uses the pact mock-service, I get the following output

[2022-03-04T14:36:51.001224+00:00] server.debug: start background command: /srv/api/vendor/pact-foundation/pact-php/src/PhpPact/Standalone/Installer/../../../../pact/bin/pact-mock-service service --consumer='cart-service' --provider='product-service' --pact-dir='/srv/api/pacts' --pact-file-write-mode=merge --host=localhost --port=9999 --log-level='INFO' --cors=true --log='/srv/api/var/log/test/pact' [] []

instead of the phpunit-default output for each test

.

Although I have configured INFO as log level, these debug information are printed.

@YOU54F YOU54F changed the title How to disable log-output? Pact-PHP <=9.x.x : How to disable log-output? May 16, 2024
@YOU54F YOU54F changed the title Pact-PHP <=9.x.x : How to disable log-output? Pact-PHP <=9.x.x - How to disable log-output? May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant