LoggingResource

LoggingResource REST endpoint to access and manipulate the log4j logging level Copyright 2016 WANdisco.

The following resources are part of this group:

/log4j/level

Mount Point: /api/log4j/level

GET

Get the current log4j level

Response Body

element: (custom)
media types: text/plain

response

Status Codes

code description
200 Ok
400 Bad Request - see Exception
200 Ok
400 Bad Request - see Exception

PUT

Set the log4j level example CURL command to update log4j level to DEBUG: curl -I -u admin:pass -H "Content-Type: application/json" -X PUT "http://IP:PORT/api/log4j/level?level=DEBUG"

Parameters

name description type default
level String of the level to set e.g. DEBUG query

Response Body

element: (custom)
media types: */*
application/xml

response

Status Codes

code description
200 Ok
400 Bad Request - see Exception
200 Ok
400 Bad Request - see Exception