Skip to main content

Enable unity logging


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=, Culture=neutral, PublicKeyToken=d86c87abe4a71948" />-->


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


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





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