Knowledge Base Article

Home Page > Knowledge Base > KronoDesk

Home Page > Knowledge Base > Spira Platform

Home Page > Knowledge Base > Spira Platform > SpiraPlan

Home Page > Knowledge Base > Spira Platform > SpiraTeam

Home Page > Knowledge Base > Spira Platform > SpiraTest

Article How to adjust the logging levels in Spira and KronoDesk

by Adam S on 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" />

Attachments
Article Info
Last Updated: 11/13/2014
Article ID: KB94
# Views: 953
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.