Administration
Returns all registered loggers with their explicit and effective levels, plus the current mode (file|runtime).
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/admin/loggers HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"loggers": [
{
"name": "text",
"level": "text",
"effectiveLevel": "text"
}
],
"mode": "text",
"activePreset": "text"
}Sets the log level for a specific logger. This enters runtime mode, disabling auto-reload from the config file until a preset is applied.
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/admin/loggers HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"loggerName": "text",
"level": "TRACE"
}{
"loggerName": "text",
"previousLevel": "text",
"newLevel": "text"
}Returns information about a specific logger by name
The bearer token can be obtained by creating a ServiceAccount.
The logger name (e.g., 'io.lenses.http' or 'ROOT')
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/admin/loggers/{name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "text",
"level": "text",
"effectiveLevel": "text"
}Returns the list of available log configuration presets
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/admin/loggers/presets HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"presets": [
{
"name": "text",
"description": "text",
"rootLevel": "text"
}
],
"activePreset": "text"
}Applies a log configuration preset, reloading the corresponding XML config file. Returns to file mode, re-enabling auto-reload.
The bearer token can be obtained by creating a ServiceAccount.
The preset name (default, debug, or debug-kafka)
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/admin/loggers/presets/{name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"preset": "text",
"previousPreset": "text",
"loggersReset": 1
}Returns the current logging mode, active preset, and auto-reload state
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/admin/loggers/status HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"mode": "text",
"activePreset": "text",
"configFile": "text",
"autoReloadEnabled": true,
"lastModified": 1
}Last updated
Was this helpful?

