]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/SecApResetVectorFixupTask.java
Polished the build tools' screen output to be in a more coherent form
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / SecApResetVectorFixupTask.java
index 79a7b54bea9f389bef163b6c9bf2da8303dd94b1..e1b9bd1b63735c1dabd3dbd11011e2fe466a39a5 100644 (file)
@@ -111,7 +111,8 @@ public class SecApResetVectorFixupTask 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.fvInputFile)).getName());\r
             \r
             revl = runner.execute();\r
             \r
@@ -119,16 +120,13 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
                 //\r
                 // command execution success\r
                 //\r
-                EdkLog.log(EdkLog.EDK_INFO,"SecApResetVectorFixup succeeded!");\r
+                EdkLog.log(EdkLog.EDK_VERBOSE, "SecApResetVectorFixup succeeded!");\r
             } else {\r
                 //\r
                 // command execution fail\r
                 //\r
-                EdkLog.log(EdkLog.EDK_ERROR, "SecApResetVectorFixup failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-                throw new BuildException("SecApResetVectorFixup failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-\r
+                EdkLog.log(EdkLog.EDK_INFO, "ERROR = " + Integer.toHexString(revl));\r
+                throw new BuildException("SecApResetVectorFixup failed!");\r
             }\r
         } catch (Exception e) {\r
             throw new BuildException(e.getMessage());\r