summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNhi Pham <nhi@os.amperecomputing.com>2024-06-24 12:22:52 +0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-26 12:40:30 +0000
commit89377ece8f1c7243d25fd84488dcd03e37b9e661 (patch)
treeecf6beec04389a0d2b5074ee757234f330b68ebd
parentdc002d4f2d76bdd826359a3dd608d9bc621fcb47 (diff)
downloadedk2-89377ece8f1c7243d25fd84488dcd03e37b9e661.zip
edk2-89377ece8f1c7243d25fd84488dcd03e37b9e661.tar.gz
edk2-89377ece8f1c7243d25fd84488dcd03e37b9e661.tar.bz2
MdeModulePkg/ImagePropertiesRecordLib: Reduce debug level
The presense of PdbPointer (PDB file name) is not an error. Hence, the debug message should be categorized as VERBOSE or INFO. However, the DEBUG_VERBOSE is more appropriate since the PDB file name is already output by the PeCoffLoaderRelocateImageExtraAction() function with the inline "add-symbol-file" when a platform uses the library instance DebugPeCoffExtraActionLib. Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
-rw-r--r--MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c b/MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c
index 3ac043f..08e3311 100644
--- a/MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c
+++ b/MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c
@@ -1052,7 +1052,7 @@ CreateImagePropertiesRecord (
PdbPointer = PeCoffLoaderGetPdbPointer ((VOID *)(UINTN)ImageBase);
if (PdbPointer != NULL) {
- DEBUG ((DEBUG_ERROR, " Image - %a\n", PdbPointer));
+ DEBUG ((DEBUG_VERBOSE, " Image - %a\n", PdbPointer));
}
// Check PE/COFF image