diff options
author | Myung Bae <myungbae@us.ibm.com> | 2023-05-31 22:40:39 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-06-09 19:56:38 +0300 |
commit | b90d14f220cba6de26dcf8749b2f8df062487d72 (patch) | |
tree | 692c1704a69d62560028bbd3643fd584829c067a /include | |
parent | ac106bf6d10841a25088ed14105a73636ba71519 (diff) | |
download | bmcweb-b90d14f220cba6de26dcf8749b2f8df062487d72.tar.xz |
Fix Error log entries to Warning
Some logging entries are categorized as ERROR, but they would better be
as WARNING.
1)
```
$ curl -k -X GET https://${bmc}:18080/redfish/v1/Managers/bmc/LogServices/Dump/Entries/INVALID
{
....
"code": "Base.1.13.0.InternalError",
"message": "The request failed due to an internal service error. The service is still operational."
}
}%
(2023-06-01 23:29:40) [ERROR "log_services.hpp":665] Can't find Dump Entry
(2023-06-01 23:29:40) [CRITICAL "error_messages.cpp":282] Internal Error \
../../../../../../../../../bmcweb/redfish-core/lib/log_services.hpp(666:36) \
`redfish::getDumpEntryById(const std::shared_ptr<bmcweb::AsyncResp>&, const std::string&, \
const std::string&)::<lambda(const boost::system::error_code&, const dbus::utility::ManagedObjectType&)>`:
```
2)
```
$ curl -k -X GET https://${bmc}:18080/redfish/v1/UpdateService/FirmwareInventory/INVALID
(2023-05-31 15:03:38) [ERROR "update_service.hpp":1010] Input swID X1cd6ce5fZ not found!
```
Tested:
- Set bmcweb-logging=error to obtain Error or higher logs
- Run the above commands and watch out logs
- Redfish validator passed and see whether there are unexpected error or higher level logs
Change-Id: I5f14eedd68fd3454cdf2a5b2f34442a7718e718a
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions