More control over Unicorn logstash logger.
This commit is contained in:
parent
89d9ffa884
commit
db68434db1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue