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 Apr 23, 2019
1 parent 2980017 commit d2cdfec
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 d2cdfec

Please sign in to comment.