Views:

Question:
How do you enable Debug logging for Local Data Connector?


Answer:
To enable debug logging for Local Data Connector, you will need to access the .config file(s) of Local Data Connector. Please refer to the following guide on how to enable Debug logging for Local Data Connector;

1. Please open "C:\Program Files (x86)\DocuWare\Local Data Connector" and locate the file named "Local Data Connector Service.exe.config"


2. Navigate through the file until you locate the highlighted area below. "consoleLogTarget" is always set to "Debug". This setting is used by our development department. 



3. Change the "Info" value to "Debug" as highlighted below. This will enable Debug information to be written to the default Log path on your machine.


4. Save this file to apply the changes in the log level, then restart the Local Data Connector Service and open / re-open Local Data Connector App.


The Debug information should now be written to "LocalDataConnector.log" found in this location C:\ProgramData\DocuWare\Logs.

5. In some cases, it can also be required to activate Debug logging for the Client (Local Data Connector App). Please open "C:\Program Files (x86)\DocuWare\Local Data Connector" and locate the file named "Local Data Connector Administration.exe.config."


6. Locate the following section in the file:


7. Change the "Info" value to "Debug" as highlighted below. This will enable Debug information to be written to the default Log path on your machine.


8. Save the changes and restart Local Data Connector App. This will enable writing Debug Level information to your machine.
The information will be written in the same path as above but into the file "LocalDataConnectorAdmin.log".


After creating the debug logs, we advise you to adjust all the Local Data Connector settings back to "Info" as this will reduce the amount of data written to your machine.
Please save the respective Config-File and restart the Service or Application.

This KBA is applicable for Cloud Organizations ONLY.