Use parentheses

This commit is contained in:
gregoirenovel 2018-12-24 16:32:23 +01:00 committed by Pierre de La Morinerie
parent 94bd62f9a2
commit 7ffe40868b
2 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ Rails.application.configure do
end
config.lograge.keep_original_rails_log = true
config.lograge.logger = ActiveSupport::Logger.new Rails.root.join('log', "logstash_#{Rails.env}.log")
config.lograge.logger = ActiveSupport::Logger.new(Rails.root.join('log', "logstash_#{Rails.env}.log"))
if config.lograge.enabled
ActiveJobLogSubscriber.attach_to(:active_job)