Diagnostic logging in SharePoint 2010
In order to trace events in SharePoint or events that are somehow connected to the SharePoint, you can find helpful information on the following sites:
- Diagnostic logging in SharePoint 2010.
- SharePoint LogViewer – View ULS logs the easy and efficient way – Home.
- ULS Viewer – Home.
- How do I troubleshoot SharePoint? So many logs! – The Bamboo Team Blog – Bamboo Nation.
- How to troubleshoot mysterious SharePoint errors. «
- IIS Logging Overview.
- Where are My IIS Log Files Stored? – SmarterTools Inc..
- Maximize IIS logging to track user activity | TechRepublic.
- ETL File Extension – Open .ETL files.
- Free Web Analytics and SEO Software.
In general, there are three main places, where trace events are logged. You can find them in:
- Windows Event Viewer
- SharePoint logs (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS)
- IIS logs (location specified on each website)
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Setup Logging in IIS:
1. Launch Internet Information Services (IIS) Manager.
2. In the Connections pane, select the desired website for which you want to configure logging.
3. Double-click the Logging feature in the Actions pane.
4. On the Logging page, select the desired logging format to be used.
5. Specify the location of the log file by typing a log path into the Directory text box. Alternatively, click the Browse button and select a directory to store the files.
6. In the Log File Rollover section, select the method to create the new log file. The options include specifying an Hourly, Daily, Weekly, or Monthly schedule, entering a maximum file size (in bytes), or selecting the option that puts a stop to the creation of new log files.
7. The final option requires you to determine whether to use local time for file naming and rollover.
8. After all the log file settings have been given; select Apply in the Actions pane to commit the changes.
NOTE: It is possible to either enable or disable a log file for a specific site by selecting Enable or Disable in the Actions pane of the Logging feature page. To enable logging for IIS 7.0, the HTTPLoggingModule must be installed.