db/test/backwards_compatibility/config.ru in pact_broker-2.13.1 vs db/test/backwards_compatibility/config.ru in pact_broker-2.14.0
- old
+ new
@@ -7,9 +7,12 @@
FileUtils.touch "pids/#{Process.pid}"
DATABASE_CREDENTIALS = {adapter: "sqlite", database: "pact_broker_database.sqlite3", :encoding => 'utf8'}
app = PactBroker::App.new do | config |
+ config.logger.formatter = proc do |severity, datetime, progname, msg|
+ "v#{PactBroker::VERSION} #{severity} -- : #{msg}\n"
+ end
config.database_connection = Sequel.connect(DATABASE_CREDENTIALS.merge(:logger => config.logger))
config.auto_migrate_db = true
end
PactBroker.logger.info "Running PactBroker #{PactBroker::VERSION}"