+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / How can I enable Sitefinity tracing?

How can I enable Sitefinity tracing?

3 posts, 0 answered
  1. Amier
    Amier avatar
    8 posts
    Registered:
    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
    Registered:
    02 Dec 2016
    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:

    http://www.sitefinity.com/developer-network/knowledge-base/details/how-to-log-information-in-sitefinity-logs

    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;

    Regards,
    Sabrie Nedzhip
    Telerik
     
    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
    Registered:
    31 Dec 2013
    06 Oct 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