1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 06:48:45 +09:00

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

This commit is contained in:
Eugen Rochko 2019-04-23 04:39:48 +02:00 committed by GitHub
parent 041fb0e840
commit 8a0d677cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)]