Tip – SharePoint Tracing
Tip – SharePoint Tracing
During the development it is very common for us to check what is the exception in the log file. But, by the time we open the file the log data will overwhelmed with many messages. Especially the trick I follow in Dev environment is, when I get exception I will immediately stop the tracer service.
So, if I open the log file, the last error will be the error I am looking for. Then start the service again.
We can start and stop tracing service using the below command
Start Service
net start sptracev4
Stop Service
net stop sptracev4
Log file location where SharePoint saves the log files is
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\
If we stop the service SharePoint will not log information any more
October 31, 2013
В·
Adi В·
No Comments
Tags: Logging, SharePoint 2010, SharePoint 2010 Tips and Tricks, SharePoint Logging, Tracing В· Posted in: Sharepoint 2010, Tips and Tricks
Leave a Reply