How can I enable Sitefinity tracing? - Bugs & Issues - Bugs & Issues - Progress Community
 Bugs & Issues

How can I enable Sitefinity tracing?

  • How can I enable Sitefinity tracing?
  • I would like to view the output of TraceManager.TraceInformation calls to debug an issue with a Simple Web Token (swt). How can I enable Sitefinity to output to the trace.log file? Is there somewhere else where the output of TraceManager.TraceInformation calls can be viewed?
  • Hi Amier,

    Please refer to the below KB article on how to log information in Sitefinity log files:

    You can specify the log file where you would like to write in by selecting it from the ConfigurationPolicy. In order to write in the Error.log file, please select ConfigurationPolicy.ErrorLog.

    Please note to include the following namespace in your class:

    using Telerik.Sitefinity.Abstractions;

    Sabrie Nedzhip
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  • This doesn't appear to be the correct answer. The provided information details how to log your own events.

    How do you enable tracing on built in SiteFinity events.

    Example is there is a TraceManager defined in Telerik.Sitefinity.Security.Claims.SWT, it has a trace source name of "Telerik.Sitefinity.Security.Claims.SWT".

    How do we turn on logging so that all those events are written to a log file?

    Currently they are not being logged for some reason.

    Is there a setting in the Sitefinity backend / administration area to turn it on?