]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenAcpiTableTask.java
Polished the build tools' screen output to be in a more coherent form
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / GenAcpiTableTask.java
index 156d7e309ae620dd2bb4b958c767e0bceb4a2d46..0b17b10dfb4c823b2a65d45620451b4359e2cf8c 100644 (file)
@@ -104,24 +104,21 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
             //\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.inputFile)).getName());\r
             revl = runner.execute();\r
             \r
             if (EFI_SUCCESS == revl) {\r
                 //\r
                 // command execution success\r
                 //\r
-                EdkLog.log(EdkLog.EDK_INFO,"GenAcpiTable successed!");\r
+                EdkLog.log(EdkLog.EDK_VERBOSE, "GenAcpiTable succeeded!");\r
             } else {\r
                 //\r
                 // command execution fail\r
                 //\r
-                EdkLog.log(EdkLog.EDK_ERROR, "GenAcpiTable failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-                throw new BuildException("GenAcpiTable failed. (error="\r
-                        + Integer.toHexString(revl) + ")");\r
-\r
+                EdkLog.log(EdkLog.EDK_INFO, "ERROR = " + Integer.toHexString(revl));\r
+                throw new BuildException("GenAcpiTable failed!");\r
             }\r
         } catch (Exception e) {\r
             throw new BuildException(e.getMessage());\r