diff options
Diffstat (limited to 'include/event_service_store.hpp')
-rw-r--r-- | include/event_service_store.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/event_service_store.hpp b/include/event_service_store.hpp index dcc99f102c..61f1ac7b0f 100644 --- a/include/event_service_store.hpp +++ b/include/event_service_store.hpp @@ -151,8 +151,8 @@ struct UserSubscription val.value().get_ptr<const std::string*>(); if (value == nullptr) { - BMCWEB_LOG_ERROR << "Failed to parse value for key" - << val.key(); + BMCWEB_LOG_ERROR("Failed to parse value for key{}", + val.key()); continue; } subvalue->httpHeaders.set(val.key(), *value); @@ -174,9 +174,9 @@ struct UserSubscription } else { - BMCWEB_LOG_ERROR - << "Got unexpected property reading persistent file: " - << element.key(); + BMCWEB_LOG_ERROR( + "Got unexpected property reading persistent file: {}", + element.key()); continue; } } @@ -187,8 +187,8 @@ struct UserSubscription subvalue->eventFormatType.empty() || subvalue->subscriptionType.empty()) { - BMCWEB_LOG_ERROR << "Subscription missing required field " - "information, refusing to restore"; + BMCWEB_LOG_ERROR("Subscription missing required field " + "information, refusing to restore"); return nullptr; } |