Skip to content

A platform for community discussion. Free, open, simple.

Bump logster to v 2.1.2 (#7052)

Osama Sayeghf86ca5631a23
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