Where a particular installation is having issues, the TwApiWrapper listener can be enabled in the OSIPIConnectorService.config file (uncomment the commented out section and restart).
Instructions
To enable the TwApiWrapper:
Navigate to the install path for the connector
Edit the OSIPIConnectorService.config
Locate the following section in the file and remove the comments
<!--source name="com.thingworx.communications.client.TwApiWrapper" switchName="SourceSwitch" switchType="System.Diagnostics.SourceSwitch"> <listeners> <add name="file"/> </listeners> </source-->
Remove the comments so the file shows as:
<?xml version="1.0" encoding="utf-8"?> <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/> </startup> <system.diagnostics> <sources> <source name="com.thingworx.communications.client.TwApiWrapper" switchName="SourceSwitch" switchType="System.Diagnostics.SourceSwitch"> <listeners> <add name="file"/> </listeners> </source> ...
This listener is usually commented out as it is very verbose e.g. 1MB log growth approx. every 15 seconds so it is only recommended you leave it running while troubleshooting any issues.
Save the changes to the file and restart the connector service. See Starting/Restarting the Connector service manually for further details on how to do this.
Related articles
Filter by label
There are no items with the selected labels at this time.