pact-foundation / pact-mock_service

Provides a mock service for use with Pact
https://pact.io
MIT License
73 stars 69 forks source link

Feature Request - Log level CLI Option on pact-stub-service #100

Closed YOU54F closed 5 years ago

YOU54F commented 5 years ago

Ola,

We have just switched over to the pact-stub-service, and noticed that we cannot control the log levels.

I am currently outputting the log to a file, tailing the file, with a grep pattern to search for errors.

Would be good to implement this for the pact-stub-server, as per #91

Many thanks in advance!

YOU54F commented 5 years ago

This is the commit that brought in the logging for pact-mock-service

https://github.com/pact-foundation/pact-mock_service/commit/cf84a34c93cb69d19174b179a62fc54215726793

If I get some spare time, I will try and pop a PR in