Fix stoplight logging to stderr separate from Rails logger (#10624)

lolsob-rspec
Eugen Rochko 2019-04-23 04:39:48 +02:00 committed by GitHub
parent 72f3242a59
commit 55449c0b41
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
require 'stoplight'
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
Stoplight::Light.default_notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]