commit | 979ed1cce24fa0cffd4fe414b8a56e17ec032b14 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Fri Nov 17 05:06:25 2017 -0600 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Sun Nov 19 23:53:25 2017 -0600 |
tree | c9d2da240e2dc351d9bd7739a98bf9c5ecd5b06c | |
parent | 8959efcb5881a1970b2057466d0267c563772208 [diff] |
Perform sanity check while restoring error entries Check if the data in the persisted files is valid before restoring the error entries Resolves openbmc/openbmc#2646 Change-Id: Iff0846a3366a27e59484113b7020f540087aa994 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
phosphor logging provides mechanism for common event and logging creation based on information from the journal log.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
curl -c cjar -k -X POST -H "Content-Type: application/json" \ -d '{"data": [ "root", "<root password>" ] }' https://<BMC IP>/login curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST \ -d '{"data": []}' \ https://<BMC IP>/xyz/openbmc_project/logging/entry/<entry num>/action/Delete
curl -c cjar -k -X POST -H "Content-Type: application/json" \ -d '{"data": [ "root", "<root password>" ] }' https://<<BMC IP>/login curl -c cjar -b cjar -k -H "Content-Type: application/json" \ -X POST https://<<BMC IP>/xyz/openbmc_project/logging/action/deleteAll \ -d "{\"data\": [] }"