PEL: Add LogsCleared event to message registry
This is an informational event when all event logs are deleted with the
DeleteAll method.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I939a2a228903701b4a31fbb1c617432df6f4b487
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index d185790..2219d7a 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -480,6 +480,40 @@
},
{
+ "Name": "xyz.openbmc_project.Logging.Error.LogsCleared",
+ "Subsystem": "bmc_firmware",
+ "Severity": "non_error",
+
+ "SRC": {
+ "ReasonCode": "0x2007",
+ "Words6To9": {
+ "6": {
+ "Description": "Number of logs deleted",
+ "AdditionalDataPropSource": "NUM_LOGS"
+ }
+ }
+ },
+
+ "Documentation": {
+ "Description": "All event logs were deleted",
+ "Message": "All event logs were deleted",
+ "Notes": [
+ "This is an informational error noting that ",
+ "someone deleted all of the event logs."
+ ]
+ },
+
+ "JournalCapture": {
+ "Sections": [
+ {
+ "SyslogID": "systemd",
+ "NumLines": 10
+ }
+ ]
+ }
+ },
+
+ {
"Name": "org.open_power.PHAL.Error.Boot",
"Subsystem": "cec_hardware",
"ComponentID": "0x3000",