From 29d2a95ba12f8b5abed040df7fd59790d6ba2517 Mon Sep 17 00:00:00 2001 From: James Feist Date: Wed, 10 Jun 2020 09:41:44 -0700 Subject: Revert "EventService: Add event log support with inotify" This reverts commit e9a14131650d30389eaf9dc38a3c32f1cb552f52. Reason for revert: if /var/log/redfish does not exist this causes bmcweb to crash on start Fixes #126 Change-Id: If6ba4717a32d4cd72aa92a9bc9c696d5813b5cac Signed-off-by: James Feist --- src/webserver_main.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index ea32122b3b..f4e6207b7f 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -116,15 +116,6 @@ int main(int argc, char** argv) redfish::RedfishService redfish(app); -#ifndef BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES - int rc = redfish::EventServiceManager::startEventLogMonitor(*io); - if (rc) - { - BMCWEB_LOG_ERROR << "Redfish event handler setup failed..."; - return rc; - } -#endif - app.run(); io->run(); -- cgit v1.2.3