StopFileLogging
The StopFileLogging service tells the EMS to stop writing log messages to a file.
Inputs
You pass in the following parameter:
"delete" : true | false. Set to true to stop the logging to a file, or false to continue logging to a file.
Outputs
This service returns an HTTP response only. If the operation was successful, it returns HTTP 200. Otherwise, it returns an HTTP error.
Example 1. StopFileLogging
Here is an example of a REST call that tells an EMS to stop logging messages that it generates to a file and to delete the existing log file:

http://localhost:8000/Thingworx/Things/LocalEms/Services/StopFileLogging
{
"delete": true
}
Was this helpful?