diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-23 04:39:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 04:39:48 +0200 |
commit | 8a0d677cde361b271b42c84056a80535f22549cc (patch) | |
tree | 16fdb1dfbb9c0ea479b234946d3e6da2fcab9b49 | |
parent | 041fb0e840d85a6e9be2ff97fb80c3bf36f94644 (diff) |
Fix stoplight logging to stderr separate from Rails logger (#10624)
-rw-r--r-- | config/initializers/stoplight.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/stoplight.rb b/config/initializers/stoplight.rb index 1bd4ee6e7..7384b2e9a 100644 --- a/config/initializers/stoplight.rb +++ b/config/initializers/stoplight.rb @@ -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)] |