Skip to content

Commit

Permalink
Add classpath and input arguments to the self-diagnostics (#2517)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti authored and heyams committed Sep 16, 2022
1 parent 0581689 commit 2c630e3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ public void init() {
JvmCompiler.disableJvmCompilerDirectives();
}

if (startupLogger.isDebugEnabled()) {
startupLogger.debug("Classpath: " + System.getProperty("java.class.path"));
startupLogger.debug(
"Input arguments: " + ManagementFactory.getRuntimeMXBean().getInputArguments());
}

} catch (Exception e) {
throw new IllegalStateException(e);
}
Expand Down

0 comments on commit 2c630e3

Please sign in to comment.