浏览代码
Fix stoplight logging to stderr separate from Rails logger (#10624)
master^2
Eugen Rochko
5 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
1 次插入 和
0 次删除
-
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)] |