- URL:https://<logs-url>/clean
Description
Caution:
This operation deletes all the logs on all server machines in the site. This is an irreversible operation.
This operation forces the server to clean the logs, and has the effect of freeing up disk space. However, it is not required that you invoke this operation because the server periodically purges old logs.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response format is html. Value: html | json |
Example usage
Below is a sample POST request for clean:
POST /webadaptor/admin/logs/clean HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=json
JSON Response example
{"status": "success"}