Add Readme file

Change-Id: Ibda92d85a2ff789f896587ff00fb659ad8e96d54
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
1 file changed
tree: 3f69fdbb1b972dd26d78d5a8cc1fccb71660c31a
  1. app-local-errors/
  2. callouts/
  3. org/
  4. phosphor-logging/
  5. test/
  6. tools/
  7. xyz/
  8. .gitignore
  9. bootstrap.sh
  10. configure.ac
  11. elog.cpp
  12. elog_entry.cpp
  13. elog_entry.hpp
  14. elog_meta.cpp
  15. elog_meta.hpp
  16. elog_serialize.cpp
  17. elog_serialize.hpp
  18. LICENSE
  19. log_manager.cpp
  20. log_manager.hpp
  21. log_manager_main.cpp
  22. logging_test.cpp
  23. Makefile.am
  24. org.openbmc.Associations.cpp
  25. phosphor-logging.pc.in
  26. README.md
README.md

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\": [] }"