mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
d81ad6172f
commit
587debd3e6
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ require "logstash/patches/clamp"
|
|||
require "logstash/settings"
|
||||
|
||||
class LogStash::Runner < Clamp::StrictCommand
|
||||
# The `path.settings` need to be defined in the runner instead of the `logstash-core/lib/logstash/environment.r`
|
||||
# The `path.settings` need to be defined in the runner instead of the `logstash-core/lib/logstash/environment.rb`
|
||||
# because the `Environment::LOGSTASH_HOME` doesn't exist in the context of the `logstash-core` gem.
|
||||
#
|
||||
# See issues https://github.com/elastic/logstash/issues/5361
|
||||
# See issue https://github.com/elastic/logstash/issues/5361
|
||||
LogStash::SETTINGS.register(LogStash::Setting::String.new("path.settings", ::File.join(LogStash::Environment::LOGSTASH_HOME, "config")))
|
||||
|
||||
# Node Settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue