Searched hist:f22b4a1e (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ |
H A D | README.md | f22b4a1e Thu Dec 15 11:20:35 CST 2022 Matt Spinler <spinler@us.ibm.com> PEL: Define JSON schema to capture the journal
This chain of commits is adding the functionality to be able to capture portions of the journal into PEL UserData sections by defining it in the message registry entry for an error.
This commit updates the JSON schema for it, and the README.
From the README, examples are:
"JournalCapture": { "NumLines": 30 }
"JournalCapture": { "Sections": [ { "SyslogID": "phosphor-bmc-state-manager", "NumLines": 20 }, { "SyslogID": "phosphor-log-manager", "NumLines": 15 } ] }
The first example will capture the previous 30 lines from the journal into a single UserData section.
The second example will create two UserData sections, the first with the most recent 20 lines from phosphor-bmc-state-manager, and the second with 15 lines from phosphor-log-manager.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I005a84547b43887a5f746832c68f4b40b6334404
|
/openbmc/phosphor-logging/extensions/openpower-pels/registry/schema/ |
H A D | schema.json | f22b4a1e Thu Dec 15 11:20:35 CST 2022 Matt Spinler <spinler@us.ibm.com> PEL: Define JSON schema to capture the journal
This chain of commits is adding the functionality to be able to capture portions of the journal into PEL UserData sections by defining it in the message registry entry for an error.
This commit updates the JSON schema for it, and the README.
From the README, examples are:
"JournalCapture": { "NumLines": 30 }
"JournalCapture": { "Sections": [ { "SyslogID": "phosphor-bmc-state-manager", "NumLines": 20 }, { "SyslogID": "phosphor-log-manager", "NumLines": 15 } ] }
The first example will capture the previous 30 lines from the journal into a single UserData section.
The second example will create two UserData sections, the first with the most recent 20 lines from phosphor-bmc-state-manager, and the second with 15 lines from phosphor-log-manager.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I005a84547b43887a5f746832c68f4b40b6334404
|