Browse Source

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

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
8a0d677cde
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/initializers/stoplight.rb

+ 1
- 0
config/initializers/stoplight.rb 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)]

Loading…
Cancel
Save