Skip to content

Commit

Permalink
WIP: Open PR to run tests and save progress
Browse files Browse the repository at this point in the history
  • Loading branch information
donoghuc committed Dec 24, 2024
1 parent 01c8e8b commit dff38cc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions logstash-core/lib/logstash/config/mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ def config_init(params)
if opts && opts[:deprecated]
extra = opts[:deprecated].is_a?(String) ? opts[:deprecated] : ""
extra.gsub!("%PLUGIN%", self.class.config_name)
self.logger.warn("You are using a deprecated config setting " +
"#{name.inspect} set in #{self.class.config_name}. " +
"Deprecated settings will continue to work, " +
"but are scheduled for removal from logstash " +
"in the future. #{extra} If you have any questions " +
"about this, please visit the #logstash channel " +
"on freenode irc.", :name => name, :plugin => self)
self.deprecation_logger.deprecated("You are using a deprecated config setting " +
"#{name.inspect} set in #{self.class.config_name}. " +
"Deprecated settings will continue to work, " +
"but are scheduled for removal from logstash " +
"in the future. #{extra} If you have any questions " +
"about this, please visit the #logstash channel " +
"on freenode irc.", {})

end

Expand Down

0 comments on commit dff38cc

Please sign in to comment.