X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Tools%2FSource%2FFrameworkTasks%2Forg%2Ftianocore%2Fframework%2Ftasks%2FEfiCompressTask.java;h=55e7fa74cf884df08909546774f146f508012961;hb=219e2247478e46f81b744252b13cd1df01a76756;hp=0ee1c10b9423b58b7148899f0b37c5eb72d75556;hpb=c06913ffeab43e4f818738f65599095ccb35f263;p=mirror_edk2.git diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiCompressTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiCompressTask.java index 0ee1c10b94..55e7fa74cf 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiCompressTask.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiCompressTask.java @@ -104,7 +104,8 @@ public class EfiCompressTask extends Task implements EfiDefine { // // Set debug log information. // - EdkLog.log(EdkLog.EDK_INFO, Commandline.toString(cmdline.getCommandline())); + EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline())); + EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName()); revl = runner.execute(); @@ -112,15 +113,13 @@ public class EfiCompressTask extends Task implements EfiDefine { // // command execution success // - EdkLog.log(EdkLog.EDK_INFO,"EfiCompress succeeded!"); + EdkLog.log(EdkLog.EDK_VERBOSE, "EfiCompress succeeded!"); } else { // // command execution fail // - EdkLog.log(EdkLog.EDK_ERROR, "EfiCompress failed. (error=" - + Integer.toHexString(revl) + ")"); - throw new BuildException("Strip failed. (error=" - + Integer.toHexString(revl) + ")"); + EdkLog.log(EdkLog.EDK_INFO, "ERROR = " + Integer.toHexString(revl)); + throw new BuildException("Strip failed!"); } } catch (Exception e) {