Break journal logging into methods
Like we've done other places, make log services journal follow the
naming convention, and break down lambdas into actual methods.
This is a refactor not intended to make any functional changes.
Tested: Redfish service validator passes. Journal works as before.
Change-Id: Ibbc7a13fba9c63606f7fd9c741af3b296633b664
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/src/redfish.cpp b/redfish-core/src/redfish.cpp
index 303cca5..57378d5 100644
--- a/redfish-core/src/redfish.cpp
+++ b/redfish-core/src/redfish.cpp
@@ -142,11 +142,10 @@
}
requestRoutesBMCLogServiceCollection(app);
+
if constexpr (BMCWEB_REDFISH_BMC_JOURNAL)
{
requestRoutesBMCJournalLogService(app);
- requestRoutesBMCJournalLogEntryCollection(app);
- requestRoutesBMCJournalLogEntry(app);
}
if constexpr (BMCWEB_REDFISH_CPU_LOG)