Set Logger Debug Levels

Defines a temporary debug level for one or more loggers in memory without changing the logback.xml file. This request can be used to collect more detailed log information for a short period of time to help investigate a particular issue. When the defined time interval expires, the logger debug level is reset to its previous value.

In HA environments, the debug level is propagated so that all nodes have the same log level.

Tip: This API was intended for customers whose security protocols prevent accessing the loggers remotely via SSH. It is strongly recommended to contact JFrog Support before using this API. A support representative will provide the names of the loggers to include in the request and the desired debug level.

Warning: Do not send a new POST request until the previous POST request has expired. If you want to change the debug level configuration, first send a DELETE request to undo the previous POST and only then execute a new POST request.

Note: To return to the previous debug level before the timer expires, use the Delete Logger Debug Levels API.

Note: If any of the classes defined in the request do not exist, the POST operation will still complete. Therefore, before making a correction, you must either wait for the timer to expire or execute a DELETE operation before sending a new POST request.

Since: 7.77.0

Security: Requires an admin user.

Supported on the Self-Hosted platform, with a Pro, Pro X, Enterprise X, or Enterprise+ license.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Specifies the loggers and their temporary debug levels, along with a timer duration in seconds.

classes
object
required

The names of the loggers whose debug level you want to change temporarily (for example, com.jfrog.bh), and the debug level to define for each one. Each logger you want to configure must be specified individually by name. The maximum number of loggers that can be configured is 100.

integer
required

The amount of time to keep the loggers at the defined debug level (in seconds). When the interval expires, the loggers are reset to the previous debug level.

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
application/json