Increase maximum log number from 100 to 200

Utilization of the persistent filesystem in BMC has shown
that there is room to double the number of error logs
allowed on BMC systems. This increased size will assist
in debugging of intermittent issues that occur over time.

Change-Id: I81d5ff4ed42822b6a37779b5d190ad405df1a87d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 file changed
tree: b0980a15e38fa8ae3d60240b20d521a5040bcafc
  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\": [] }"