From 8a0d677cde361b271b42c84056a80535f22549cc Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 23 Apr 2019 04:39:48 +0200 Subject: [PATCH] Fix stoplight logging to stderr separate from Rails logger (#10624) --- config/initializers/stoplight.rb | 1 + 1 file changed, 1 insertion(+) 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)]