More in this section
Forums / Bugs & Issues / How can I enable Sitefinity tracing?

How can I enable Sitefinity tracing?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Amier
    Amier avatar
    8 posts
    14 Sep 2010
    03 Nov 2015
    Link to this post
    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?
  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    17 Aug 2017
    25 Dec 2015
    Link to this post
    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
  3. Matt
    Matt avatar
    1 posts
    31 Dec 2013
    06 Oct 2016 in reply to Sabrie Nedzhip
    Link to this post

    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?

3 posts, 0 answered