Logging
Both a StackTrace and an AppTrace can be enabled in the TwinCAT OPC UA Client. The StackTrace provides diagnostic information on the OPC UA stack, whereas the AppTrace is limited to the pure client application and is also sufficient in most cases. All settings listed in the following table are created under the following registry key:
HKLM\SOFTWARE\WOW6432Node\Beckhoff\TwinCAT OPC UA Client
Type | Name | Data type | Data |
---|---|---|---|
AppTrace | logfile | REG_SZ | Name of the logfile |
AppTrace | logmode | REG_DWORD | 0 = disabled 1 = minimum logging 2 = maximum logging |
StackTrace | tracelogfile | REG_SZ | Name of the logfile |
StackTrace | tracelogmode | REG_DWORD | 0 = disabled 1 = enabled |