diff --git a/spec/support/logging.rb b/spec/support/logging.rb index 40dace91c..803517f35 100644 --- a/spec/support/logging.rb +++ b/spec/support/logging.rb @@ -2,4 +2,5 @@ require 'pact_broker/logging/default_formatter' FileUtils.mkdir_p("log") +SemanticLogger.default_level = :error SemanticLogger.add_appender(file_name: "log/test.log", formatter: PactBroker::Logging::DefaultFormatter.new)