Retrieve the Logging Level API
On this page
The Logger API is used to retrieve the current log level for a particular logger by name.
Caution
This API is subject to change and should only be used under instruction from FusionAuth support.
Request#
GET/api/logger?name={name}
Request Parameters#
name String required The logger name for which you are requesting to retrieve the current logging level.
Response#
Response Codes| Code | Description |
|---|---|
| 200 | The request was successful. The response will contain a JSON body. |
| 400 | The request was invalid and/or malformed. The response will contain an Errors JSON Object with the specific errors. This status will also be returned if a paid FusionAuth license is required and is not present. |
| 401 | You did not supply a valid Authorization header. The header was omitted or your API key was not valid. The response will be empty. See Authentication. |
| 500 | There was an internal error. A stack trace is provided and logged in the FusionAuth log files. The response will be empty. |
Response Body#
name String The name of the logger.
level String The current logging level. Possible values are:
errorwarninfodebugtraceoff
{
"level": "info"
}Related
APIs
API documentation for the FusionAuth Update the Logging Level API.
fusionauth apirest apihttp api
APIs
API documentation for the FusionAuth Export System Logs API.
fusionauth apirest apihttp api
APIs
Learn about the APIs for retrieving and updating the system configuration.
fusionauth apirest apihttp api
APIs
API documentation for the FusionAuth Rebuild the Elasticsearch index API.
fusionauth apirest apihttp api