Skip to content

Commit

Permalink
Replace/remove references to defunct freenode instance (elastic#16873)
Browse files Browse the repository at this point in the history
The preferred channel for communication about LS is the elastic discussion
forum, this commit updates the source code and readme files to reflect that.
  • Loading branch information
donoghuc committed Jan 10, 2025
1 parent 5763eb0 commit 1983e8a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 20 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ supported platforms, from [downloads page](https://www.elastic.co/downloads/logs

- [Logstash Forum](https://discuss.elastic.co/c/logstash)
- [Logstash Documentation](https://www.elastic.co/guide/en/logstash/current/index.html)
- [#logstash on freenode IRC](https://webchat.freenode.net/?channels=logstash)
- [Logstash Product Information](https://www.elastic.co/products/logstash)
- [Elastic Support](https://www.elastic.co/subscriptions)

Expand Down
2 changes: 1 addition & 1 deletion lib/pluginmanager/templates/codec-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi

## Need Help?

Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
Need help? Try the https://discuss.elastic.co/c/logstash discussion forum.

## Developing

Expand Down
2 changes: 1 addition & 1 deletion lib/pluginmanager/templates/filter-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi

## Need Help?

Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
Need help? Try the https://discuss.elastic.co/c/logstash discussion forum.

## Developing

Expand Down
2 changes: 1 addition & 1 deletion lib/pluginmanager/templates/input-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi

## Need Help?

Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
Need help? Try the https://discuss.elastic.co/c/logstash discussion forum.

## Developing

Expand Down
2 changes: 1 addition & 1 deletion lib/pluginmanager/templates/output-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi

## Need Help?

Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
Need help? Try the https://discuss.elastic.co/c/logstash discussion forum.

## Developing

Expand Down
29 changes: 14 additions & 15 deletions logstash-core/lib/logstash/config/mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,20 @@ def config_init(params)
extra.gsub!("%PLUGIN%", self.class.config_name)
# Log to main logger in addition to deprecation logger, in the 9.x series
# we will remove the main logger and only use the deprecation logger
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.", {})

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 ask it on the " \
"https://discuss.elastic.co/c/logstash discussion forum", :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 ask it on the " \
"https://discuss.elastic.co/c/logstash discussion forum", {})
end

if opts && opts[:obsolete]
Expand Down

0 comments on commit 1983e8a

Please sign in to comment.