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:
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;
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?