diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rb index 573a5ff659c..e5f5c4d112a 100644 --- a/config/unicorn.conf.rb +++ b/config/unicorn.conf.rb @@ -1,8 +1,8 @@ # See http://unicorn.bogomips.org/Unicorn/Configurator.html -if ENV["LOGSTASH_URI"] +if ENV["LOGSTASH_UNICORN_URI"] require_relative '../lib/discourse_logstash_logger' - logger DiscourseLogstashLogger.logger(uri: ENV['LOGSTASH_URI'], type: :unicorn) + logger DiscourseLogstashLogger.logger(uri: ENV['LOGSTASH_UNICORN_URI'], type: :unicorn) end # enable out of band gc out of the box, it is low risk and improves perf a lot