summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 2bf48bf6c2..c2d64c2010 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -72,10 +72,18 @@ class RedfishService
nodes.emplace_back(
std::make_unique<VlanNetworkInterfaceCollection>(app));
nodes.emplace_back(std::make_unique<VlanNetworkInterface>(app));
- nodes.emplace_back(std::make_unique<LogServiceCollection>(app));
- nodes.emplace_back(std::make_unique<BMCLogService>(app));
- nodes.emplace_back(std::make_unique<BMCLogEntryCollection>(app));
- nodes.emplace_back(std::make_unique<BMCLogEntry>(app));
+
+ nodes.emplace_back(std::make_unique<SystemLogServiceCollection>(app));
+ nodes.emplace_back(std::make_unique<EventLogService>(app));
+ nodes.emplace_back(std::make_unique<EventLogEntryCollection>(app));
+ nodes.emplace_back(std::make_unique<EventLogEntry>(app));
+
+ nodes.emplace_back(std::make_unique<BMCLogServiceCollection>(app));
+#ifdef BMCWEB_ENABLE_REDFISH_BMC_JOURNAL
+ nodes.emplace_back(std::make_unique<BMCJournalLogService>(app));
+ nodes.emplace_back(std::make_unique<BMCJournalLogEntryCollection>(app));
+ nodes.emplace_back(std::make_unique<BMCJournalLogEntry>(app));
+#endif
#ifdef BMCWEB_ENABLE_REDFISH_CPU_LOG
nodes.emplace_back(std::make_unique<CPULogService>(app));