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:
parent
23801153c7
commit
4289e206ae
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue