diff options
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2020-12-30 11:07:10 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-02-01 16:44:48 +0300 |
commit | 09ea4852cd7f7eb5892de1247c241997244309a4 (patch) | |
tree | f07d06a55f7366f6733ce6a31ed89ab94e93e8a5 /meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend | |
parent | 25254b72534874a19e28baa00446247765ccdbde (diff) | |
download | openbmc-09ea4852cd7f7eb5892de1247c241997244309a4.tar.xz |
meta-ampere: support Redfish event log
Enable system event log for Redfish. It includes the setting to:
- Enable sel-logger module which logs the sensor event into the
systemd log.
- Enable the rsyslog (intel module) to sync the sensor events from
systemd to /var/log/redfish. The file will be used by Redfish.
- Configure the backend and redfish to get the system log from the
/var/log/redfish instead of system d-bus
- Enable Redfish journal log
Tested: Verify event logs appear in:
1. Redfish: /redfish/v1/Systems/system/LogServices/EventLog/Entries
2. Redfish: /redfish/v1/Managers/bmc/LogServices/Journal/Entries
3. WebUI: /server-health/sys-log at Event type.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I3753e2932ec1dc83cdbe0708173531930df65254
Diffstat (limited to 'meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend')
-rw-r--r-- | meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend new file mode 100644 index 000000000..15fb5e670 --- /dev/null +++ b/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" + +EXTRA_OEMESON_append = " \ + -Dinsecure-tftp-update=enabled \ + -Dbmcweb-logging=enabled \ + -Dredfish-bmc-journal=enabled \ + " |