Fixing groovy logs.
@@ -45,7 +45,7 @@ public class ExecutableRunner {
DetectConfiguration detectConfiguration;
public ExecutableOutput execute(final Executable executable) throws ExecutableRunnerException {
- logger.info("Running executable >${executable.getMaskedExecutableDescription()}");
+ logger.info(String.format("Running executable >%s", executable.getMaskedExecutableDescription()));
try {
final ProcessBuilder processBuilder = executable.createProcessBuilder();
final Process process = processBuilder.start();
@@ -81,7 +81,7 @@ public class ExecutableRunner {
}
public void executeToFile(final Executable executable, final File standardOutput, final File errorOutput) throws ExecutableRunnerException {
- logger.debug("Running executable >${executable.getMaskedExecutableDescription()}");
+ logger.debug(String.format("Running executable >%s", executable.getMaskedExecutableDescription()));
try {
final ProcessBuilder processBuilder = executable.createProcessBuilder().redirectOutput(standardOutput).redirectError(errorOutput);
final Process process = processBuilder.start();
