Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ curl http://localhost:8080/manage/health/readiness -i -X GET
$ curl http://localhost:8080/manage/health/liveness -i -X GET

...

Logging: /manage/loggers

The endpoint allows to retrieve information about and update the log level setting on per logger identifier basis.

The following endpoints are exposed

  • /manage/loggers - provides information about all the loggers configured
  • /manage/loggers/{logger-id} GET - retrieves log level settings for requested logger identifier
  • /manage/loggers/{logger-id} POST - updates or resets the log level settings for requested logger identifier

Getting log level information :

Code Block
languagebash
$ curl http://localhost:8080/manage/loggers -i -X GET
$ curl http://localhost:8080/manage/loggers/org.onap.cps -i -X GET

Updating log level information:

Code Block
languagebash
themeConfluence
$ curl http://localhost:8080/manage/loggers -i -X GET
$ curl http://localhost:8080/manage/loggers/org.onap.cps -i -X GET


Resources