summaryrefslogtreecommitdiff
path: root/include/obmc_console.hpp
diff options
context:
space:
mode:
authorTim Lee <timlee660101@gmail.com>2019-10-09 05:17:57 +0300
committerEd Tanous <ed.tanous@intel.com>2019-10-18 19:22:52 +0300
commit1f56a3a6031ba5992d52532cf2d32c76253c9167 (patch)
treed08adb4e68c06e093bd324f537f56e98c481da51 /include/obmc_console.hpp
parent4c0625edfed3520f07460475bb335e3c23cb181c (diff)
downloadbmcweb-1f56a3a6031ba5992d52532cf2d32c76253c9167.tar.xz
bmcweb: fix "Clear Event Logs" functionality behavior in System logs page on WebUI
When BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES option set to ON that means bmcweb will look to phosphor-logging for any D-Bus log entries. These will then be translated to Redfish EventLog Entries. Thus, we can see those Redfish Eventlog Entries when select "Event" system log type in System logs page. However, when this option set to ON, the "Clear Event Logs" functionality still clear /var/log/redfish file instead of clear log through xyz.openbmc_project.Collection.DeleteAll interface by DeleteAll action. It should to clear D-Bus log entries when BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES option is ON. Thus, we provide our modification for correct this functionality behavior. Tested by: Nuvoton NPCM750 EVB and RunBMC Olympus platforms in WebUI. when BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES option is ON to clear D-Bus log entries, and when option is OFF to clear /var/log/redfish log entries. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I71445806ae5a79c2c0622908f7ac60daaa2119b8 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'include/obmc_console.hpp')
0 files changed, 0 insertions, 0 deletions