You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/07/29 14:13:55 UTC
svn commit: r1803371 -
/jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
Author: pmouawad
Date: Sat Jul 29 14:13:55 2017
New Revision: 1803371
URL: http://svn.apache.org/viewvc?rev=1803371&view=rev
Log:
Improve logging
Modified:
jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java?rev=1803371&r1=1803370&r2=1803371&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/exec/KeyToolUtils.java Sat Jul 29 14:13:55 2017
@@ -86,7 +86,7 @@ public class KeyToolUtils {
if (keytoolDir != null) {
keytoolPath = new File(new File(keytoolDir), KEYTOOL).getPath();
if (!checkKeytool(keytoolPath)) {
- log.error("Cannot find keytool using property " + KEYTOOL_DIRECTORY + "=" + keytoolDir);
+ log.error("Cannot find keytool using property {}={}", KEYTOOL_DIRECTORY, keytoolDir);
keytoolPath = null; // don't try anything else if the property is provided
}
} else {
@@ -104,9 +104,9 @@ public class KeyToolUtils {
}
}
if (keytoolPath == null) {
- log.error("Unable to find keytool application. Check PATH or define system property " + KEYTOOL_DIRECTORY);
+ log.error("Unable to find keytool application. Check PATH or define system property {}", KEYTOOL_DIRECTORY);
} else {
- log.info("keytool found at '" + keytoolPath + "'");
+ log.info("keytool found at '{}'", keytoolPath);
}
KEYTOOL_PATH = keytoolPath;
}