RedfishPkg: Use DEBUG_MANAGEABILITY
Use debug print level DEBUG_MANAGEABILITY in RedfishPkg. Signed-off-by: Abner Chang <abner.chang@amd.com> Cc: Nickle Wang <nicklew@nvidia.com> Cc: Igor Kulchytskyy <igork@ami.com> Reviewed-by: Nickle Wang <nicklew@nvidia.com>
This commit is contained in:
committed by
mergify[bot]
parent
d8e5d35ede
commit
d15d2667d5
@@ -946,7 +946,7 @@ RedfishDumpJsonStringFractions (
|
||||
return;
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "JSON text:\n"));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "JSON text:\n"));
|
||||
NextFraction = String;
|
||||
StrLen = AsciiStrLen (String);
|
||||
if (StrLen == 0) {
|
||||
@@ -956,13 +956,13 @@ RedfishDumpJsonStringFractions (
|
||||
for (Count = 0; Count < (StrLen / StringFractionSize); Count++) {
|
||||
BackupChar = *(NextFraction + StringFractionSize);
|
||||
*(NextFraction + StringFractionSize) = 0;
|
||||
DEBUG ((DEBUG_INFO, "%a", NextFraction));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "%a", NextFraction));
|
||||
*(NextFraction + StringFractionSize) = BackupChar;
|
||||
NextFraction += StringFractionSize;
|
||||
}
|
||||
|
||||
if ((StrLen % StringFractionSize) != 0) {
|
||||
DEBUG ((DEBUG_INFO, "%a\n\n", NextFraction));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "%a\n\n", NextFraction));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1101,7 +1101,7 @@ RedfishIsValidOdataType (
|
||||
}
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "%a: This Odata type is not in the list.\n", __func__));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "%a: This Odata type is not in the list.\n", __func__));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@@ -428,7 +428,7 @@ getUriFromService (
|
||||
return NULL;
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "libredfish: getUriFromService(): %a\n", url));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "libredfish: getUriFromService(): %a\n", url));
|
||||
|
||||
//
|
||||
// Step 1: Create HTTP request message with 4 headers:
|
||||
@@ -587,7 +587,7 @@ patchUriFromService (
|
||||
return NULL;
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "libredfish: patchUriFromService(): %a\n", url));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "libredfish: patchUriFromService(): %a\n", url));
|
||||
|
||||
//
|
||||
// Step 1: Create HTTP request message with 4 headers:
|
||||
@@ -660,7 +660,7 @@ patchUriFromService (
|
||||
ret = NULL;
|
||||
goto ON_EXIT;
|
||||
} else if (Status == EFI_UNSUPPORTED) {
|
||||
DEBUG ((DEBUG_INFO, "No content coding for %a! Use raw data instead.\n", HTTP_CONTENT_ENCODING_GZIP));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "No content coding for %a! Use raw data instead.\n", HTTP_CONTENT_ENCODING_GZIP));
|
||||
Status = HttpIoSetHeader (HttpIoHeader, "Content-Encoding", HTTP_CONTENT_ENCODING_IDENTITY);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
} else {
|
||||
@@ -769,7 +769,7 @@ postUriFromService (
|
||||
return NULL;
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "libredfish: postUriFromService(): %a\n", url));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "libredfish: postUriFromService(): %a\n", url));
|
||||
|
||||
if (contentLength == 0) {
|
||||
contentLength = strlen (content);
|
||||
@@ -954,7 +954,7 @@ deleteUriFromServiceEx (
|
||||
return NULL;
|
||||
}
|
||||
|
||||
DEBUG ((DEBUG_INFO, "libredfish: deleteUriFromService(): %a\n", url));
|
||||
DEBUG ((DEBUG_MANAGEABILITY, "libredfish: deleteUriFromService(): %a\n", url));
|
||||
|
||||
//
|
||||
// Step 1: Create HTTP request message with 4 headers:
|
||||
|
Reference in New Issue
Block a user