I just spent a fair amount of time troubleshooting an issue that required me to look in the ULS logs for the root cause. What tools are recommended for searching/filtering/reading ULS logs?
|
|
Realtime? ULSViewer wins hands down: http://www.harbar.net/archive/2010/10/06/ulsviewer-ndash-the-tool-that-no-sharepoint-practitioner-should-be.aspx |
|||||
|
|
The SharePoint ULS Viewer by Dan Winter, Microsoft - http://archive.msdn.microsoft.com/ULSViewer If you need, here is a list of SharePoint ULS log viewers out there along with comparison of features and the verdict on which is the best ULS log viewer. http://www.jeremytaylor.net/2012/07/14/sharepoint-uls-log-viewer-tool-comparison-and-verdict/ |
||||
|
|
|
SharePoint Log Viewer has not been mentioned in this question. Because of the person asked to list uls tools, I want to link to my personal favourite: the MIT licensed SharePoint Log Viewer With it one can see all logs from the entire farm live, filter by all fields and much more. |
||||
|
|
|
UlsViewer is a no brainer, you got to have it. But for debugging realtime on several web front end servers I still prefer SPTraceView by Hristo Pavlov. This unique tool lets you watch ULS errors as they occur from multiple WFE. You install it on all WFE and one is chosen as receiver. This way you can monitor behaviour even though you dont know what WFE your users are having errors with. It only supports MOSS currently. |
||||
|
|
|
The Merge-SPLogFile cmdlet is invaluable when working in a multi server farm environment. It collects the log files from all servers into a single local file. It supports basic filtering to reduce the size of the log file that is collected. |
||||
|
|
|
If you are looking to dive deep and investigate all facets of the issue, including the ULS, IIS, event logs and even performance logs, you might want to look into the SharePoint Diagnostics (SPDiag) tool that is part of SharePoint Administration Toolkit, a free tool from Microsoft. This compiles all of the logs from all servers across the farm lets you get a bird's eye view of what was going on at the given time. It does take a few steps to set up but really can help troubleshoot an issue. Documentation can be found on TechNet. |
|||||
|
|
Try SharePoint Log Reader on codeplex. The ability to filter on category and correlation id is great. Its a WPF application. |
||||
|
|
|
Also have a look at http://spcorrelationviewwp.codeplex.com/ which allows you to retrieve the information recorded in the ULS log tagged with a specific correlation ID without leaving your site since it's a webpart.
|
||||
|
|
|
Stefan Gordon's ULS Viewer
|
||||
|
|
ULS Log Reader from SPSDev: http://www.spsdev.com/UlsReader.aspx. |
||||
|
|

