Log JVM arguments on startup

These can be very useful to have, let's have them at our fingertips in
the logs (in case the JVM dies and we can no longer retrieve them, at
least they are here).

Relates #24451
This commit is contained in:
Jason Tedor 2017-05-02 21:33:24 -04:00 committed by GitHub
parent 23801153c7
commit 4289e206ae
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ public class Node implements Closeable {
Constants.JVM_NAME,
Constants.JAVA_VERSION,
Constants.JVM_VERSION);
logger.info("JVM arguments {}", Arrays.toString(jvmInfo.getInputArguments()));
warnIfPreRelease(Version.CURRENT, Build.CURRENT.isSnapshot(), logger);
if (logger.isDebugEnabled()) {