This SharePoint tutorial, we will discuss what are the different ways to check error logs in SharePoint 2013/2016. If any error occurred in your SharePoint environment, then it is necessary to get the logs.
Different ways to check logs in SharePoint 2013
Below is the area where we should check for SharePoint logs:
1- Event Viewer:
This is one of the popular places to search for SharePoint errors.
You can open this by using the command like this:
Start -> Run and then enter eventvwr and click on Ok. This will open the Event Viewer window.
It has a separate section for SharePoint with a name as Windows SharePoint Services. Apart from this, you can also check in Windows Logs -> Applications section for errors.
2- SharePoint Logs:
By default, SharePoint maintains log inside the 14/15 hive folder, which is located in
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14/15\LOGS
You can check in the above locations also.
You can use ULS viewer tool to see logs from 14 hive folder. This is a good tool.
3- IIS logs:
You can also check in IIS logs for some errors.
The IIS logs presented in C:\Windows\System32\LogFiles location.
The IIS logs contain information about each request and the response.
Apart from this you can also enable tracing in SharePoint by modifying in the web.config file like below:
<system.web> <trace enabled=”true” requestLimit=”40″ localOnly=”false”/> </system.web>
Apart from this you can also use SPDisposeCheck to check if any memory leaks are there in the code.
You may like following SharePoint tutorials:
- SharePoint Development Best Practices [Custom Development using Visual Studio]
- SharePoint 2010 performance issue reasons
- Enable Developer Dashboard in SharePoint 2010 or SharePoint 2013
- How to appear Developer Dashboard in the custom master page in SharePoint?
- Developer Dashboard in SharePoint 2010/2013/2016
- Detecting Memory Leaks In SharePoint 2010
- Disposing SharePoint Objects
Hope this SharePoint tutorial, helps to learn different ways to check logs in SharePoint 2013/2016.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.