summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2017-10-06 04:08:55 -0500
committerDeepak Kodihalli <dkodihal@in.ibm.com>2017-11-03 12:08:25 +0000
commit7aafb12ea6d143a694080733b2f65216c8c9c892 (patch)
tree3f69fdbb1b972dd26d78d5a8cc1fccb71660c31a
parentdeae3cac49b8c3312751017d36abe35e4cf7cfa1 (diff)
downloadphosphor-logging-7aafb12ea6d143a694080733b2f65216c8c9c892.zip
phosphor-logging-7aafb12ea6d143a694080733b2f65216c8c9c892.tar.gz
Add Readme file
Change-Id: Ibda92d85a2ff789f896587ff00fb659ad8e96d54 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
-rw-r--r--README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..cb0c4da
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+# phosphor-logging
+phosphor logging provides mechanism for common event and logging creation based
+on information from the journal log.
+
+## To Build
+```
+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`.
+```
+## REST command to delete an error
+
+ 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
+
+## REST command to delete all errors
+
+ 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\": [] }"
+
OpenPOWER on IntegriCloud