spec/spec_helper.rb in pact_broker-2.81.0 vs spec/spec_helper.rb in pact_broker-2.82.0
- old
+ new
@@ -3,10 +3,11 @@
return if ENV["REGRESSION"] == "true"
$: << File.expand_path("../../", __FILE__)
RACK_ENV = ENV["RACK_ENV"] = "test"
+ENV["PACT_BROKER_LOG_LEVEL"] ||= "info"
require "spec/support/simplecov"
require "support/logging"
require "support/database"
require "rack/test"
@@ -58,7 +59,7 @@
end
end
if ENV["DEBUG"] == "true"
SemanticLogger.add_appender(io: $stdout)
- SemanticLogger.default_level = :info
+ SemanticLogger.default_level = :debug
end