SP 2010: Developing for performance Part 4 - Logging

SP 2010: Developing for performance Part 4 - Logging

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction SharePoint 2010 developing for performance article series: In this series of articles I will briefly introduce you to some key concepts when it comes to developing for performance in our SharePoint 2010 applications. Related articles in this article series Part 1 – SP 2010: Developing for performance Part 1 – Developer Dashboard Part 2 – SP 2010: Developing for performance Part 2 – SPMonitoredScope Part 3 – SP 2010: Developing for performance Part 3 – Caching in SharePoint 2010 Part 4 – SP 2010: Developing for performance Part 4…

Read More

SP 2010: Find error messages with a Correlation ID token in SharePoint 2010

In SharePoint 2010, you’ve got some new capabilities for error reporting and logs. One of the most noted features for me as a developer is that whenever you bump into an error message – you’ll be presented with a correlation ID token. In this article I will try to explain how you can fetch that token from SharePoint, and also provide a small snippet of code to be able to build your own “Log Searcher Web Part” for your administrators. What is a Correlation ID in SharePoint? In SharePoint 2010, you get a Correlation ID (which is a GUID)…

Read More

SPTraceView - Easy overview of the SharePoint logs (ULS logs)

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction If you are a SharePoint developer, you often need to dig into the logs in the 12-hive in order to find out why things are behaving the way they are. You and me both know that this can be a pain in the buttocks if you don’t have an appropriate tool to read the logs with. I’ve been trying out around 10 different log viewers, including SharePoint-specific log viewers, in order to save some time reading the logs. What I…

Read More