about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-04-23 04:39:48 +0200
committerGitHub <noreply@github.com>2019-04-23 04:39:48 +0200
commit8a0d677cde361b271b42c84056a80535f22549cc (patch)
tree16fdb1dfbb9c0ea479b234946d3e6da2fcab9b49 /config
parent041fb0e840d85a6e9be2ff97fb80c3bf36f94644 (diff)
Fix stoplight logging to stderr separate from Rails logger (#10624)
Diffstat (limited to 'config')
-rw-r--r--config/initializers/stoplight.rb1
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)]