From f86ca5631a23b5a6eaca3ad8b72f6a9008731d5b Mon Sep 17 00:00:00 2001 From: Osama Sayegh Date: Thu, 21 Feb 2019 18:59:33 +0300 Subject: [PATCH] Bump logster to v 2.1.2 (#7052) --- Gemfile.lock | 2 +- config/initializers/100-logster.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index f8d5a2ed9b3..49c22926de1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -186,7 +186,7 @@ GEM logstash-event (1.2.02) logstash-logger (0.26.1) logstash-event (~> 1.2) - logster (2.1.1) + logster (2.1.2) loofah (2.2.3) crass (~> 1.0.2) nokogiri (>= 1.5.9) diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rb index 21ef01a127c..b9d64f9cf46 100644 --- a/config/initializers/100-logster.rb +++ b/config/initializers/100-logster.rb @@ -69,6 +69,7 @@ if Rails.env.production? # scopes for the enums /^Creating scope :open\. Overwriting existing method Poll\.open\./, ] + Logster.config.env_expandable_keys.push(:hostname, :problem_db) end # middleware that logs errors sits before multisite