by  Adam S Thursday, November 13, 2014
Sometimes to diagnose issues with SpiraTest, SpiraPlan, SpiraTeam or KronoDesk it is helpful to increase the logging level to log all trace activity in the system. This KB article describes how to enable this feature.

You can enable more logging by going to the Web.config file and uncommenting out the section on trace listeners:

   <listeners>
    <!--
    <add name="eventLogListener"
      type="System.Diagnostics.EventLogTraceListener"
      initializeData="SpiraTest"/>
    <add name="fileListener"
      type="System.Diagnostics.TextWriterTraceListener"
      initializeData="C:\Program Files\SpiraTest\SpiraTest_Trace.log"/>
   -->
   </listeners>


You need to uncomment the previous section and specify a real file location that you want the trace log file written to. Then you can change the logging levels themselves by changing:

   <add name="generalSwitch" value="1" />
   <add name="queriesSwitch" value="1" />

to

   <add name="generalSwitch" value="3" />
   <add name="queriesSwitch" value="3" />

Article Info
  • Last Updated: 11/13/2014
  • Article ID: KB94
  • Views: 1196