]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/ZeroDebugDataTask.java
Polished the build tools' screen output to be in a more coherent form
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / ZeroDebugDataTask.java
index 5ef058a35a37e9bd990b80e26ce41dcbad97cf85..eb9707afe1bad4fe1c0f6677d70e59871e3fd497 100644 (file)
@@ -105,23 +105,22 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
             //\r
             // Set debug log information.\r
             //\r
             //\r
             // Set debug log information.\r
             //\r
-            EdkLog.log(EdkLog.EDK_INFO, Commandline.toString(cmdline.getCommandline()));\r
-            \r
+            EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
+            EdkLog.log(EdkLog.EDK_INFO, (new File(this.peFile)).getName());\r
+\r
             revl = runner.execute();\r
             \r
             if (EFI_SUCCESS == revl) {\r
                 //\r
                 // command execution success\r
                 //\r
             revl = runner.execute();\r
             \r
             if (EFI_SUCCESS == revl) {\r
                 //\r
                 // command execution success\r
                 //\r
-                EdkLog.log(EdkLog.EDK_INFO,"ZeroDebug succeeded!");\r
+                EdkLog.log(EdkLog.EDK_VERBOSE, "ZeroDebugData succeeded!");\r
             } else {\r
                 //\r
                 // command execution fail\r
                 //\r
             } else {\r
                 //\r
                 // command execution fail\r
                 //\r
-                EdkLog.log(EdkLog.EDK_ERROR, "ZeroDebug failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-                throw new BuildException("ZeroDebug failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
+                EdkLog.log(EdkLog.EDK_INFO, "ERROR = " + Integer.toHexString(revl));\r
+                throw new BuildException("ZeroDebugData failed!");\r
 \r
             }\r
         } catch (Exception e) {\r
 \r
             }\r
         } catch (Exception e) {\r