Server Operations Web Services - Roll Log

Overview

Universal Controller supports the following RESTful-based web services for the Roll Log Server Operation.

Formatting specifications for the web service, including details about parameter requirements, are provided.

Roll Log


Description

URI

http://host_name/uc/resources/serveroperation/rolllog

HTTP Method

GET

Description

Renames the existing log to a timestamped log and opens a new log file.

Example URI

http://localhost:8080/uc/resources/serveroperation/rolllog

Authentication

HTTP Basic

Consumes Content-Type

n/a

Produces Content-Type

application/xml, application/json

Example Response

See Roll Log: Example Response.

Roll Log: Example Response

XML Response

JSON Response

 XML Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<serverOperationResponse>
    <operation>Roll Log</operation>
    <success>true</success>
    <output>Log rolled at 2021-02-22 11:49:43 -0500</output>
</serverOperationResponse>
 JSON Response

{
    "operation": "Roll Log",
    "success": true,
    "output": "Log rolled at 2021-02-22 11:50:14 -0500"
}