What can we improve?

Documentation

(Edit)

IPS_EnableDebugFile

Requires: IP-Symcon >= 5.2

boolean IPS_EnableDebugFile (integer $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).

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
Deutsche Webseite verfügbar
Go to cart
Any questions?