mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
improve log info
This commit is contained in:
1 parent
3c048b639c
commit
dcf9be4732
1 file changed
+2
-2
@@ -80,8 +80,8 @@ public class Arthas {
|
|||||||
if (!targetJavaVersion.equals(currentJavaVersion)) {
|
if (!targetJavaVersion.equals(currentJavaVersion)) {
|
||||||
AnsiLog.warn("Current VM java version: {} do not match target VM java version: {}, attach may fail.",
|
AnsiLog.warn("Current VM java version: {} do not match target VM java version: {}, attach may fail.",
|
||||||
currentJavaVersion, targetJavaVersion);
|
currentJavaVersion, targetJavaVersion);
|
||||||
AnsiLog.warn("Target VM JAVA_HOME is {}, try to set the same JAVA_HOME.",
|
AnsiLog.warn("Target VM JAVA_HOME is {}, arthas-boot JAVA_HOME is {}, try to set the same JAVA_HOME.",
|
||||||
targetSystemProperties.getProperty("java.home"));
|
targetSystemProperties.getProperty("java.home"), System.getProperty("java.home"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user