mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-17 04:13:01 +00:00
Fix stoplight logging to stderr separate from Rails logger (#10624)
This commit is contained in:
parent
041fb0e840
commit
8a0d677cde
|
@ -1,3 +1,4 @@
|
||||||
require 'stoplight'
|
require 'stoplight'
|
||||||
|
|
||||||
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
|
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
|
||||||
|
Stoplight::Light.default_notifiers = [Stoplight::Notifier::Logger.new(Rails.logger)]
|
||||||
|
|
Loading…
Reference in a new issue