FIX: Set formatter for original Rails logger.
This commit is contained in:
parent
5dbd6a304b
commit
596fcfeb58
|
@ -85,3 +85,7 @@ RailsMultisite::ConnectionManagement.each_connection do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
if Rails.configuration.multisite
|
||||
Rails.logger.instance_variable_get(:@chained).first.formatter = RailsMultisite::Formatter.new
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue