diff --git a/compatibility-suite/tests/Service/Server.php b/compatibility-suite/tests/Service/Server.php index dab539a3..dfab8e48 100644 --- a/compatibility-suite/tests/Service/Server.php +++ b/compatibility-suite/tests/Service/Server.php @@ -32,6 +32,10 @@ public function __construct( ->setPactSpecificationVersion($specificationVersion) ->setPactFileWriteMode(PactConfigInterface::MODE_OVERWRITE); + if ($level = \getenv('PACT_LOGLEVEL')) { + $this->config->setLogLevel($level); + } + $this->driver = (new InteractionDriverFactory())->create($this->config); }