Bump logster to v 2.1.2 (#7052)

Bump logster to v 2.1.2 (#7052)

diff --git a/Gemfile.lock b/Gemfile.lock
index f8d5a2e..49c2292 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 21ef01a..b9d64f9 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

GitHub sha: f86ca563

1 Like

probably worth mentioning when we bump logster a quick overview of new features in the commit message.

2 Likes