« Back to Product

Documentation

IPS_EnableDebugFile

Require: IP-Symcon >= 5.2

 boolean IPS_EnableDebugFile (int $InstanceID) 

Parameters

InstanceID

Instance ID

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

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).

Warning

This option is temporary. After restarting the IP-Symcon service, debug logging is automatically deactivated again.

Example

// Activates the writing of debug logs for instance 12345
IPS_EnableDebugFile(12345);

// filename
debug_12345.log
Any questions?