How can I enable Sitefinity tracing?

Posted by Community Admin on 04-Aug-2018 21:40

How can I enable Sitefinity tracing?

All Replies

Posted by Community Admin on 03-Nov-2015 00:00

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?

Posted by Community Admin on 25-Dec-2015 00:00

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
 

Posted by Community Admin on 06-Oct-2016 00:00

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?

This thread is closed