Require: IP-Symcon >= 5.2
boolean IPS_EnableDebugFile (int $InstanceID)
If the command succeeds, it returns TRUE, otherwise FALSE.
The function activates the writing of debug logs to a file of the instance with the ID InstanceID.
The debug file is located in the logs folder (e.g. /var/log/symcon/debug_<InstanzID>.log).
This option is temporary. After restarting the IP-Symcon service, debug logging is automatically deactivated again.
// Activates the writing of debug logs for instance 12345 IPS_EnableDebugFile(12345); // filename debug_12345.log