mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
RedfishPkg: Reduce DEBUG_ERROR to DEBUG_MANAGEABILITY in various places
The Redfish drivers log messages as errors in various places when they don't find an appropriate network interface - even when one has already been found. Reduce those log messages to DEBUG_MANAGEABILITY to avoid spamming the console in Release builds. Signed-off-by: Rebecca Cran <rebecca@os.amperecomputing.com>
This commit is contained in:
parent
6b4dd3625b
commit
43b7a856fa
@ -412,7 +412,7 @@ AcquireRedfishServiceOnNetworkInterfaceCallback (
|
|||||||
EFI_ERROR (ThisRedfishDiscoveredToken->DiscoverList.RedfishInstances->Status))
|
EFI_ERROR (ThisRedfishDiscoveredToken->DiscoverList.RedfishInstances->Status))
|
||||||
{
|
{
|
||||||
gBS->CloseEvent (ThisRedfishDiscoveredToken->Event);
|
gBS->CloseEvent (ThisRedfishDiscoveredToken->Event);
|
||||||
DEBUG ((DEBUG_ERROR, "%a: Free Redfish discovered token - %x.\n", __func__, ThisRedfishDiscoveredToken));
|
DEBUG ((DEBUG_MANAGEABILITY, "%a: Free Redfish discovered token - %x.\n", __func__, ThisRedfishDiscoveredToken));
|
||||||
FreePool (ThisRedfishDiscoveredToken);
|
FreePool (ThisRedfishDiscoveredToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -570,9 +570,9 @@ DiscoverRedfishHostInterface (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (MacCompareStatus != 0) {
|
if (MacCompareStatus != 0) {
|
||||||
DEBUG ((DEBUG_ERROR, "%a: MAC address is not matched.\n", __func__));
|
DEBUG ((DEBUG_MANAGEABILITY, "%a: MAC address is not matched.\n", __func__));
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_ERROR,
|
DEBUG_MANAGEABILITY,
|
||||||
" NetworkInterface: %02x %02x %02x %02x %02x %02x.\n",
|
" NetworkInterface: %02x %02x %02x %02x %02x %02x.\n",
|
||||||
Instance->NetworkInterface->MacAddress.Addr[0],
|
Instance->NetworkInterface->MacAddress.Addr[0],
|
||||||
Instance->NetworkInterface->MacAddress.Addr[1],
|
Instance->NetworkInterface->MacAddress.Addr[1],
|
||||||
@ -582,7 +582,7 @@ DiscoverRedfishHostInterface (
|
|||||||
Instance->NetworkInterface->MacAddress.Addr[5]
|
Instance->NetworkInterface->MacAddress.Addr[5]
|
||||||
));
|
));
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_ERROR,
|
DEBUG_MANAGEABILITY,
|
||||||
" Redfish Host interface: %02x %02x %02x %02x %02x %02x.\n",
|
" Redfish Host interface: %02x %02x %02x %02x %02x %02x.\n",
|
||||||
DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[0],
|
DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[0],
|
||||||
DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[1],
|
DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[1],
|
||||||
@ -1559,7 +1559,7 @@ RedfishServiceAcquireService (
|
|||||||
FreePool ((VOID *)Instance);
|
FreePool ((VOID *)Instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG ((DEBUG_ERROR, "%a:Something wrong on Redfish service discovery Status1=%r.\n", __func__, Status1));
|
DEBUG ((DEBUG_MANAGEABILITY, "%a:Something wrong on Redfish service discovery Status1=%r.\n", __func__, Status1));
|
||||||
} else {
|
} else {
|
||||||
if (NewInstance) {
|
if (NewInstance) {
|
||||||
InsertTailList (&mRedfishDiscoverList, &Instance->Entry);
|
InsertTailList (&mRedfishDiscoverList, &Instance->Entry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user