]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/StripTask.java
Polished the build tools' screen output to be in a more coherent form
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / StripTask.java
index 1f5f9ad68dbd7dfd87d625ff80b577d995e5ad59..0f775a5c20beb4074577151e509442837f79d6bf 100644 (file)
@@ -105,7 +105,8 @@ public class StripTask extends Task implements EfiDefine {
             //\r
             // Set debug log information.\r
             //\r
-            EdkLog.log(EdkLog.EDK_INFO, Commandline.toString(cmdline.getCommandline()));\r
+            EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
+            EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName());\r
             \r
             revl = runner.execute();\r
             \r
@@ -113,16 +114,13 @@ public class StripTask extends Task implements EfiDefine {
                 //\r
                 // command execution success\r
                 //\r
-                EdkLog.log(EdkLog.EDK_INFO,"Strip succeeded!");\r
+                EdkLog.log(EdkLog.EDK_VERBOSE, "Strip succeeded!");\r
             } else {\r
                 //\r
                 // command execution fail\r
                 //\r
-                EdkLog.log(EdkLog.EDK_ERROR, "Strip failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-                throw new BuildException("Strip failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-\r
+                EdkLog.log(EdkLog.EDK_INFO, "ERROR = " + Integer.toHexString(revl));\r
+                throw new BuildException("Strip failed!");\r
             }\r
         } catch (Exception e) {\r
             throw new BuildException(e.getMessage());\r