Skip To Content

Clean Logs

Description

This operation forces the server to clean the logs, freeing up disk space. However, it is not required that this operation be invoked, as the server will periodically purge old logs.

Caution:

This operation is irreversible. Once invoked, this operation delete all logs on every server machine in the site.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Value: html | json| pjson

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"}