diff options
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/certificate_service.hpp | 8 | ||||
-rw-r--r-- | redfish-core/lib/managers.hpp | 4 | ||||
-rw-r--r-- | redfish-core/lib/update_service.hpp | 4 |
3 files changed, 9 insertions, 7 deletions
diff --git a/redfish-core/lib/certificate_service.hpp b/redfish-core/lib/certificate_service.hpp index 889f6064cc..6d17a6173b 100644 --- a/redfish-core/lib/certificate_service.hpp +++ b/redfish-core/lib/certificate_service.hpp @@ -164,20 +164,22 @@ class CertificateFile std::ofstream::trunc); out << certString; out.close(); - BMCWEB_LOG_DEBUG << "Creating certificate file" << certificateFile; + BMCWEB_LOG_DEBUG << "Creating certificate file" + << certificateFile.string(); } } ~CertificateFile() { if (std::filesystem::exists(certDirectory)) { - BMCWEB_LOG_DEBUG << "Removing certificate file" << certificateFile; + BMCWEB_LOG_DEBUG << "Removing certificate file" + << certificateFile.string(); std::error_code ec; std::filesystem::remove_all(certDirectory, ec); if (ec) { BMCWEB_LOG_ERROR << "Failed to remove temp directory" - << certDirectory; + << certDirectory.string(); } } } diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp index acaa40ac2c..b0e2507270 100644 --- a/redfish-core/lib/managers.hpp +++ b/redfish-core/lib/managers.hpp @@ -1872,8 +1872,8 @@ inline void return; } - BMCWEB_LOG_DEBUG - << "Setting firmware version " + firmwareId + " to priority 0."; + BMCWEB_LOG_DEBUG << "Setting firmware version " << firmwareId + << " to priority 0."; // Only support Immediate // An addition could be a Redfish Setting like diff --git a/redfish-core/lib/update_service.hpp b/redfish-core/lib/update_service.hpp index 6c61e40d34..841463a190 100644 --- a/redfish-core/lib/update_service.hpp +++ b/redfish-core/lib/update_service.hpp @@ -927,8 +927,8 @@ inline void requestRoutesSoftwareInventory(App& app) } if (!found) { - BMCWEB_LOG_ERROR - << "Input swID " + *swId + " not found!"; + BMCWEB_LOG_ERROR << "Input swID " << *swId + << " not found!"; messages::resourceMissingAtURI( asyncResp->res, crow::utility::urlFromPieces( |