Okay fetch the current logger

Fixes #2331
This commit is contained in:
Pier-Hugues Pellerin 2015-01-08 12:44:39 -05:00 committed by Jordan Sissel
parent f340a359ef
commit ecb568e740

View file

@ -132,6 +132,7 @@ module LogStash::Config::Mixin
# Deprecated: Declare the version of the plugin # Deprecated: Declare the version of the plugin
# inside the gemspec. # inside the gemspec.
def milestone(m=nil) def milestone(m=nil)
@logger = Cabin::Channel.get(LogStash)
@logger.error(I18n.t('logstash.plugin.deprecated')) @logger.error(I18n.t('logstash.plugin.deprecated'))
end end