< prev index next >
core/org.openjdk.jmc.agent/src/main/java/org/openjdk/jmc/agent/Agent.java
Print this page
@@ -51,11 +51,11 @@
*/
public class Agent {
/**
* This should be generated as part of the build later.
*/
- public final static String VERSION = "0.0.1"; //$NON-NLS-1$
+ public final static String VERSION = "0.0.2"; //$NON-NLS-1$
private final static String DEFAULT_CONFIG = "jfrprobes.xml"; //$NON-NLS-1$
@SuppressWarnings("unused")
private static Instrumentation instrumentationInstance;
@@ -133,8 +133,8 @@
getLogger().log(Level.SEVERE, "Failed to read jfr probe definitions from " + file.getPath(), e); //$NON-NLS-1$
}
}
private static void printVersion() {
- Logger.getLogger(Agent.class.getName()).info(String.format("JMC BCI agent v%s", VERSION)); //$NON-NLS-1$
+ getLogger().info(String.format("JMC BCI agent v%s", VERSION)); //$NON-NLS-1$
}
}
< prev index next >