Skip to main content
Kofax

Kofax TotalAgility - Enable Unity Logging for Export

Article # 3039255 - Page views: 150

Issue

Encountered issue for Export with the need to enable export logging in order to gather info during replication.

Note: This KB has been created to document the steps required to add Unity Logging for the Export connector in TotalAgility

 

Solution

Enable Unity Logging

We must make 2 changes in 2 config files, as detailed below

  1. Agility.Server.Core.ExportService.exe.config
  2. Agility.Server.Core.ExportWorker.Host.exe.config
Details

1. Agility.Server.Core.ExportService.exe.config

In the \\TotalAgility\CoreWorkerService\Agility.Server.Core.ExportService.exe.config file, 
Search for KTALog, uncomment the section, ensure that Autoflush is True and add -ExportService to the name of the text file

i.e.

ExportService 1.1.png

In the same config, search for <unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
Add the following after <container>: 
<extension type="Agility.Server.Common.Logging.LogMethodRegistration, Agility.Server.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d86c87abe4a71948" />

i.e.

ExportService 1.2.png

Save the config file

 

2. Agility.Server.Core.ExportWorker.Host.exe.config

In the \\TotalAgility\CoreWorkerService\Agility.Server.Core.ExportWorker.Host.exe.config file,
Search for KTALog, uncomment the section, ensure that Autoflush is True and add -ExportWorker to the name of the text file
i.e.

ExportService 2.1.png

In the same config, search for <unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
Add the following after <container>:
<extension type="Agility.Server.Common.Logging.LogMethodRegistration, Agility.Server.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d86c87abe4a71948" />

i.e.

ExportService 2.2.png

Save the config file

 

3. After these changes have been made,

  • Ensure that the C:\Temp folder exists,
  • Restart the CoreWorker and Export services, 
  • Replicate the issue & attach the logs generated at C:\Temp to your support case along with the (unfiltered) Application Event Logs

 

Level of Complexity 

Easy

 

Applies to  

Product Version Build Environment Hardware
KTA 7.X      

References

Add any references to other internal or external articles

 

 

Article # 3039255
  • Was this article helpful?