Skip to main content
Kofax

Enable unity logging

3018425

Question / Problem: 

How to enable unity logging

Answer / Solution: 

To enable unity logging do the following:

1. Stop the core worker

2. Copy the Agility.Server.Core.WorkerService.exe.config file to the desktop
    Uncomment the below 2 tag lines in the copied file

<!--<extension type="Agility.Server.Common.Logging.LogMethodRegistration, Agility.Server.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d86c87abe4a71948" />-->

<!--<system.diagnostics>

  <trace autoflush="true" indentsize="4">

   <listeners>

    <add name="KTALog" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\KTALog.txt">

    </add>

   </listeners>

  </trace>

 </system.diagnostics>-->

3. Rename the config file in the CoreWorkerService folder to "Agility.Server.Core.WorkerService.exe OLD.config" for example
4. Copy the config file with the logging enabled from the desktop to the CoreWorkerService folder
5. Start the core worker service and the logs will be generated in C:\temp

To disable the logging simply stop the core worker, revert the config file and start the core worker again.

Product Version
KTA 7.x