ThingWorx WebSocket-based Edge MicroServer (WS EMS) and Lua Script Resource (LSR) > REST Web Services Supported by WS EMS > StopFileLogging
  
StopFileLogging
The StopFileLogging service tells the WS 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.
Here is an example of a REST call that tells a WS 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