tree: ce8855289a0073f9750423e7ba3c48a21ead33c2 [path history] [tgz]
  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\": [] }"