mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Logs the JVM flags and options used to launch Logstash.
(cherry picked from commit d4bdcc936d
)
----
Original message:
Add info log of JVM flags used to configure Logstash (#13531)
Logs the JVM flags and options used to launch Logstash.
This commit is contained in:
parent
dc4368e0c6
commit
920e821932
1 changed files with 2 additions and 0 deletions
|
@ -340,6 +340,8 @@ class LogStash::Runner < Clamp::StrictCommand
|
|||
end
|
||||
|
||||
logger.info("Starting Logstash", "logstash.version" => LOGSTASH_VERSION, "jruby.version" => RUBY_DESCRIPTION)
|
||||
jvmArgs = ManagementFactory.getRuntimeMXBean().getInputArguments()
|
||||
logger.info "JVM bootstrap flags: #{jvmArgs}"
|
||||
|
||||
# Add local modules to the registry before everything else
|
||||
LogStash::Modules::Util.register_local_modules(LogStash::Environment::LOGSTASH_HOME)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue