DEV: Don't use logstash for unicorn if ENV is blank.

DEV: Don’t use logstash for unicorn if ENV is blank.

diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rb
index 7183143..1d1d013 100644
--- a/config/unicorn.conf.rb
+++ b/config/unicorn.conf.rb
@@ -2,7 +2,7 @@
 
 # See http://unicorn.bogomips.org/Unicorn/Configurator.html
 
-if ENV["LOGSTASH_UNICORN_URI"]
+if (ENV["LOGSTASH_UNICORN_URI"] || "").length > 0
   require_relative '../lib/discourse_logstash_logger'
   logger DiscourseLogstashLogger.logger(uri: ENV['LOGSTASH_UNICORN_URI'], type: :unicorn)
 end

GitHub sha: b66f2187