Unverified Commit 8a0d677c authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub

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

parent 041fb0e8
require 'stoplight'
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
Stoplight::Light.default_notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment