Log Java and JVM version info.
MODIFY
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/VersionLogger.java
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/VersionLogger.java
@@ -21,6 +21,12 @@ public class VersionLogger {
"dd-java-agent - version: {}",
getVersionString(
ClassLoader.getSystemClassLoader().getResourceAsStream("dd-java-agent.version")));
+ log.debug(
+ "Running on Java {}. JVM {} - {} - {}",
+ System.getProperty("java.version"),
+ System.getProperty("java.vm.name"),
+ System.getProperty("java.vm.vendor"),
+ System.getProperty("java.vm.version"));
}
private static String getVersionString(InputStream stream) {

Log Java and JVM version info.