Subscription Information
This feature is supported on the Self-Hosted platform, with a Pro, Pro X, Enterprise X, or Enterprise+ license.
Description: Returns the current debug level configuration for the specified logger.
Note
In HA environments, it returns the debug level from whichever node receives the request.
Since: 7.77.0
Security: Requires an admin user
Usage: GET /artifactory/api/system/debug/loggers/{className}
Content-Type: application/json
Sample Usage:
curl -uadmin:password -H "Content-Type: application/json" -X GET https://<Artifactory_URL>/artifactory/api/system/debug/loggers/{className}
The request includes the following information:
Field | Mandatory/Optional | Type | Description |
---|---|---|---|
| mandatory | string | The name of the logger whose debug level you want returned (for example, |
Note
If the className
defined in the request does not exist, this API returns the default value of the root from logback.xml.
Sample Response:
debug
Status Codes:
Code | Description |
---|---|
200 | Fetched |
401 | Bad Credentials |
403 | Forbidden |