Logging Lab - looks good, but now what

Jul 25, 2012 at 4:32 PM
Edited Jul 25, 2012 at 5:12 PM

I've just completed the lab on logging, learned a bit about the SharePoint Event Log that I guess until now my system admin only knew about, but what I don't see is how I can use the features I deployed to my dev server to help me log my web parts on the test and production servers.  I can't really see any use in a lab that does not guide us in this direction.  And if it doesn't, it makes for a pretty dissapointing lab.

Jul 25, 2012 at 5:00 PM
Edited Jul 25, 2012 at 5:13 PM

After looking around for a while, I found a video on Channel9 here: http://channel9.msdn.com/blogs/akmsft/how-to-use-the-logging-components-p--p-developing-sharepoint-applications-guidance

But it had nothing to do with the lab and it also was not very useful in trying to learn how going through this lab will help me use the logger in the web parts  I deploy??????

Jul 25, 2012 at 8:29 PM

Conclusion:  If you're already familiar with Tracing and Logging and know the difference between the two, then the hands-on logging lab is for you.  If you've used features and feature eventreceiver(s), then this lap is for you.  If you're new to Tracing and Logging and not really sure of the differences; or, if you're not sure when and how you'd custom write logging using features and eventreceiver(s).  This lab is not for you.  I suggest learning about these elements first and then create your own logging class and then run through the labs to get an idea for what is being presented.  For developers as these, I offer an good starting article from blogger SPMatt: