Skip to content

Commit

Permalink
Fix stoplight logging to stderr separate from Rails logger (mastodon#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and hiyuki2578 committed Oct 2, 2019
1 parent 59f8df2 commit fb972a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/stoplight.rb
Original file line number Diff line number Diff line change
@@ -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)]

0 comments on commit fb972a5

Please sign in to comment.