|
|
|
|
@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
|
|
|
|
|
This endpoint allows you to view and modify the log levels for the loggers in your |
|
|
|
|
application. It builds on top of the `LoggingSystem` abstraction and supports the same |
|
|
|
|
logging frameworks. The logging levels are defined by the `LogLevel` enumeration and |
|
|
|
|
consists of the following values (although not all logging systems support the full set): |
|
|
|
|
consist of the following values (although not all logging systems support the full set): |
|
|
|
|
|
|
|
|
|
* `TRACE` |
|
|
|
|
* `DEBUG` |
|
|
|
|
@ -25,7 +25,7 @@ configuration defined.
@@ -25,7 +25,7 @@ configuration defined.
|
|
|
|
|
Example curl request: |
|
|
|
|
include::{generated}/loggers/curl-request.adoc[] |
|
|
|
|
|
|
|
|
|
Example HTTP request: [small]##link:../health[icon:external-link[role="silver"]]## |
|
|
|
|
Example HTTP request: [small]##link:../loggers[icon:external-link[role="silver"]]## |
|
|
|
|
include::{generated}/loggers/http-request.adoc[] |
|
|
|
|
|
|
|
|
|
Example HTTP response: |
|
|
|
|
@ -37,7 +37,7 @@ include::{generated}/loggers/http-response.adoc[]
@@ -37,7 +37,7 @@ include::{generated}/loggers/http-response.adoc[]
|
|
|
|
|
Example curl request: |
|
|
|
|
include::{generated}/single-logger/curl-request.adoc[] |
|
|
|
|
|
|
|
|
|
Example HTTP request: [small]##link:../health[icon:external-link[role="silver"]]## |
|
|
|
|
Example HTTP request: [small]##link:../loggers[icon:external-link[role="silver"]]## |
|
|
|
|
include::{generated}/single-logger/http-request.adoc[] |
|
|
|
|
|
|
|
|
|
Example HTTP response: |
|
|
|
|
@ -49,12 +49,12 @@ include::{generated}/single-logger/http-response.adoc[]
@@ -49,12 +49,12 @@ include::{generated}/single-logger/http-response.adoc[]
|
|
|
|
|
Setting the `configuredLevel` of a logger requires `POSTing` a partial payload to the |
|
|
|
|
resource. The `configuredLevel` property must contain a string representation of the |
|
|
|
|
enumeration described above. `null` indicates that the log level should be unset, |
|
|
|
|
allowing it to inherit configuration from it's parent. |
|
|
|
|
allowing it to inherit configuration from its parent. |
|
|
|
|
|
|
|
|
|
Example curl request: |
|
|
|
|
include::{generated}/set-logger/curl-request.adoc[] |
|
|
|
|
|
|
|
|
|
Example HTTP request: [small]##link:../health[icon:external-link[role="silver"]]## |
|
|
|
|
Example HTTP request: [small]##link:../loggers[icon:external-link[role="silver"]]## |
|
|
|
|
include::{generated}/set-logger/http-request.adoc[] |
|
|
|
|
|
|
|
|
|
Example HTTP response: |
|
|
|
|
|