Tip – SharePoint Tracing

Tip – SharePoint Tracing
3 votes, 5.00 avg. rating (97% score)

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: , , , ,  В· Posted in: Sharepoint 2010, Tips and Tricks

Leave a Reply

What is 13 + 12 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)