From ecb568e7401394d28d56cb0ba650b5cece547eaf Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Thu, 8 Jan 2015 12:44:39 -0500 Subject: [PATCH] Okay fetch the current logger Fixes #2331 --- lib/logstash/config/mixin.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/logstash/config/mixin.rb b/lib/logstash/config/mixin.rb index 33d2e9e41..2cc8c8712 100644 --- a/lib/logstash/config/mixin.rb +++ b/lib/logstash/config/mixin.rb @@ -132,6 +132,7 @@ module LogStash::Config::Mixin # Deprecated: Declare the version of the plugin # inside the gemspec. def milestone(m=nil) + @logger = Cabin::Channel.get(LogStash) @logger.error(I18n.t('logstash.plugin.deprecated')) end