DEV: Don't use logster when logging in Redis failover.
This commit is contained in:
parent
b08a0d15c4
commit
c611f3703c
|
@ -14,6 +14,10 @@ if defined?(RailsFailover::Redis)
|
|||
Discourse.request_refresh!
|
||||
MessageBus.keepalive_interval = message_bus_keepalive_interval
|
||||
end
|
||||
|
||||
if Rails.logger.respond_to? :chained
|
||||
RailsFailover::Redis.logger = Rails.logger.chained.first
|
||||
end
|
||||
end
|
||||
|
||||
if defined?(RailsFailover::ActiveRecord)
|
||||
|
|
Loading…
Reference in New Issue