SlideShare una empresa de Scribd logo
1 de 29
Descargar para leer sin conexión
SHAREPOINT LOGGING & DEBUGGING:
                THE TROUBLESHOOTER’S BEST FRIEND
           Cornelius J. van Dyk                        Jason Himmelstein
Enterprise Architect, Crayveon Corporation   SharePoint Practice Director, Sentri, Inc
          www.cjvandyk.com/blog                   www.sharepointlonghorn.com
           c@sharepointmvp.net                      jhimmelstein@sentri.com
                @cjvandyk                               @sharepointlhorn
Thank you for being a part of the first
         SharePoint Saturday Austin
• Please turn off all electronic devices or set them to vibrate.
• If you must take a phone call, please do so in the hall so as not
  to disturb others.
• Open wireless access is available with no password
• Feel free to “tweet and blog” during the session
• Thanks to our Title Sponsors:
ABOUT JASON
• SharePoint Practice Director, Sentri Inc.
• Microsoft vTSP
     – virtual Technology Solutions Professional
•   SharePoint Foundation Logger (http://spflogger.codeplex.com)
•   Web: www.sentri.com
•   Blog: www.sharepointlonghorn.com
•   Twitter: @sharepointlhorn
• LinkedIn: www.linkedin.com/in/jasonhimmelstein
ABOUT CORNELIUS
 •   Chief SharePoint Architect, Crayveon
 •   7 time Microsoft MVP
 •   MCITP, MCTS SharePoint 2010
 •   SharePoint Foundation Logger (http://spflogger.codeplex.com)
 •   Blog: www.cjvandyk.com/blog
 •   Twitter: @cjvandyk
 • LinkedIn: http://www.linkedin.com/in/cjvandyk
SHAREPOINT LOGGING – A HISTORY
• How has SharePoint traditionally done logging
   – IIS Logs

   – ULS Logs

   – Upgrade Logs

   – PSConfig Logs
SHAREPOINT LOGGING – NEW & IMPROVED!
 New Functionality in SharePoint 2010
    – Correlation IDs
    – Flood Protection
    – Developer Dashboard
    – Usage Logging (Web Analytics)
    – Configurable ULS Logs
CORRELATION IDS
 • What is this weird 32 character message and why do I
   care?

 • How are they used in SharePoint 2010?

 • Why are they useful?
FLOOD PROTECTION
• I’m smart, why don’t I want to see everything?

• How does Flood Protection work?

• How do I turn it off and on?
 With this option enabled, if the same event fires 5 times within
 2 minutes, SharePoint will suppress the event from logging and
 throw a summary event at the 2 minute mark.

 The default behavior and can be customized using PowerShell
 and the Set-SPDiagnosticConfig cmdlet.
FLOOD PROTECTION (CONT’D)
  • How do I turn it off and on?
THE DEVELOPER DASHBOARD
 • How do I turn it on for a limited scope only?
 • There’s some great info here for developers, but what does it tell
    me from an Operations/Support perspective?
 • How can I convince my development team to code for it?
 • SPMonitored Scope
     –   Not available in Sandboxed Solutions
THE DEVELOPER DASHBOARD (CONT’D)
 • Enabling the dashboard
    – 3 modes
           • Off
           • On
           • OnDemand (recommended)
    – STSADM
           • stsadm -o setproperty -pn developer-dashboard -pv [off | on | ondemand]
    – PowerShell
    Add-PSSnappin Microsoft.SharePoint.PowerShell –EA 0
    $j = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
    $j.DisplayLevel = 'OnDemand';
    $j.Update()
    Optional parameters
    $j.TraceEnabled = $true;
    $j.RequiredPermissions = '%MaskSetting%';
THE DEVELOPER DASHBOARD (CONT’D)
SPMONITOREDSCOPE
 •   The SPMonitoredScope class resides in the Microsoft.SharePoint.Utilities
     namespace.
      –   Example of wrapped code:

 •   A tip for the best and most effective use of SPMonitoredScope:
      –   All calls to external components, such as custom databases, external Web services, and so on, should
          be wrapped with SPMonitoredScope. This will make it easier for administrators to identify them as
          points of failure, and to isolate the problem quickly.
            •   Sandbox Solutions are not able to be wrapped in SPMonitoredScope

 •   Measured statistics are written to the ULS logs as well as to the Developer
     Dashboard.
 •   There are a few limitations for using SPMonitoredScope.
      –   Only calls to SharePoint databases are captured.
      –   Only the code wrapped with SPMonitoredScope that resides on the front-end Web server appears
          on the Developer Dashboard. Code that executes on application servers only displays the
          SPMonitoredScope information in the ULS logs of the computer that the code is running on.
 •   Create custom monitors by adding ISPScopedPerformanceMonitor to the current
     SPMonitoredScope
DEMO
• Developer Dashboard
HEALTH DATA COLLECTION
 • Health Logging timer jobs are disabled by default
    – Be selective in what you want to enable




 • How to enable:
    – Central Admin | /_admin/ServiceJobDefinitions.aspx
        • Filter by Disabled and enable one by one
    – Powershell commandlet: SPDiagnosticProvider
    – Enable all Health Data Collection option in
      Central Admin | /_admin/LogUsage.aspx
USAGE LOGGING
 • The drivers behind Web Analytics

 • True detail on who clicked what, and what
   they saw
CONFIGURABLE ULS LOGS
 • Size limitation
 • Easy Granular tuning, with visibility into
   what’s tuned
 • Ability to specify number of days to log
DEMO
• Web Analytics
     • In Central Admin
        –   Administrative Report Library – Search Admin Reports
        –   Health Reports -Slowest Pages & Top Active Users
        –   Break down by Web Application
        –   Traffic, Search Inventory

• Configurable ULS Logs
ONE DATABASE TO RULE THEM ALL:
           THE LOGGING DATABASE
•   What can it log?
•   How do I tell it to start logging?
•   How do I get the information out?
•   Are there tools out there to help me see the data easier?
    – BDC models
    – SQL Views
    – CodePlex Projects
• Are there performance implications?
DEMO
• SQL Views
• CodePlex Projects
  – http://SPFLogger.codeplex.com
NTEVENTLOG IN SPFLOGGER
NTEVENT ANALYTICS IN SPFLOGGER
ULSTRACEVIEW IN SPFLOGGER
TIMERJOB LOG IN SPFLOGGER
TIMERJOB ANALYTICS IN SPFLOGGER
HANDY REFERENCE INFORMATION
 •   Useful Stuff
            • Jason’s info
                    –   http://www.sharepointlonghorn.com
                    –   jase@sharepointlonghorn.com
                    –   @sharepointlhorn
            • Corne’s info
                    –   http://www.cjvandyk.com/blog
                    –   c@crayveon.com
                    –   @cjvandyk
            • Todd Carter’s info
                    –   @toddca
                    –   http://www.todd-carter.com/
            • Russ Maxwell’s Blog
                    –   http://blogs.msdn.com/b/russmax

 •   Microsoft References
      –   SPMonitoredScope Class
            •   http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.spmonitoredscope(office.14).aspx
      –   Using SPMonitoredScope Class
            •   http://msdn.microsoft.com/en-us/library/ff512758.aspx
 •   Download links
            •   http://spflogger.codeplex.com
            •   Microsoft SharePoint 2010 Administration Toolkit v2.0
Thanks to our Sponsors
THANKS TO OUR OTHER SPONSORS!

Más contenido relacionado

La actualidad más candente

Memory Heap Analysis with AppDynamics - AppSphere16
Memory Heap Analysis with AppDynamics - AppSphere16Memory Heap Analysis with AppDynamics - AppSphere16
Memory Heap Analysis with AppDynamics - AppSphere16AppDynamics
 
Salesforce Flows Architecture Best Practices
Salesforce Flows Architecture Best PracticesSalesforce Flows Architecture Best Practices
Salesforce Flows Architecture Best Practicespanayaofficial
 
SharePoint Performance: Best Practices from the Field
SharePoint Performance: Best Practices from the FieldSharePoint Performance: Best Practices from the Field
SharePoint Performance: Best Practices from the FieldJason Himmelstein
 
Getting your grips on Excel chaos
Getting your grips on Excel chaosGetting your grips on Excel chaos
Getting your grips on Excel chaosNiels de Bruijn
 
Getting Started with Oracle APEX
Getting Started with Oracle APEXGetting Started with Oracle APEX
Getting Started with Oracle APEXDataNext Solutions
 
Getting Started with Splunk Enterprise Hands-On Breakout Session
Getting Started with Splunk Enterprise Hands-On Breakout SessionGetting Started with Splunk Enterprise Hands-On Breakout Session
Getting Started with Splunk Enterprise Hands-On Breakout SessionSplunk
 
AUGNYC June 21 Presentations
AUGNYC June 21 PresentationsAUGNYC June 21 Presentations
AUGNYC June 21 PresentationsMarlon Palha
 
Performance Testing in Oracle Apps
Performance Testing in Oracle AppsPerformance Testing in Oracle Apps
Performance Testing in Oracle AppsBiswajit Pratihari
 
What's New in Unifier 16.1
What's New in Unifier 16.1What's New in Unifier 16.1
What's New in Unifier 16.1p6academy
 
Taking your “web” app to places you never expected - Ember Fest 2014
Taking your “web” app to places you never expected - Ember Fest 2014Taking your “web” app to places you never expected - Ember Fest 2014
Taking your “web” app to places you never expected - Ember Fest 2014williamsgarth
 
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practicesSPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practicesKnut Relbe-Moe [MVP, MCT]
 
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...Igor Abade
 
Scaling Plugins in Critical Systems - Jon Mort
Scaling Plugins in Critical Systems - Jon MortScaling Plugins in Critical Systems - Jon Mort
Scaling Plugins in Critical Systems - Jon MortAtlassian
 
Oracle Upgrade Project Big Rocks - Done Right!
Oracle Upgrade Project Big Rocks - Done Right!Oracle Upgrade Project Big Rocks - Done Right!
Oracle Upgrade Project Big Rocks - Done Right!panayaofficial
 
Developing for the Atlassian Ecosystem
Developing for the Atlassian EcosystemDeveloping for the Atlassian Ecosystem
Developing for the Atlassian EcosystemAlex Henderson
 
MT AG - KASS - Keep APEX Stupid Simple
MT AG - KASS - Keep APEX Stupid SimpleMT AG - KASS - Keep APEX Stupid Simple
MT AG - KASS - Keep APEX Stupid SimpleNiels de Bruijn
 
Go Faster with Process Builder
Go Faster with Process BuilderGo Faster with Process Builder
Go Faster with Process Builderandyinthecloud
 
Splunk for Developers
Splunk for DevelopersSplunk for Developers
Splunk for DevelopersSplunk
 
Cognos 11 installation step by step and notes
Cognos 11 installation step by step and notesCognos 11 installation step by step and notes
Cognos 11 installation step by step and notesCarlos Castro Rodríguez
 

La actualidad más candente (20)

Memory Heap Analysis with AppDynamics - AppSphere16
Memory Heap Analysis with AppDynamics - AppSphere16Memory Heap Analysis with AppDynamics - AppSphere16
Memory Heap Analysis with AppDynamics - AppSphere16
 
Salesforce Flows Architecture Best Practices
Salesforce Flows Architecture Best PracticesSalesforce Flows Architecture Best Practices
Salesforce Flows Architecture Best Practices
 
Power Apps for developers
Power Apps for developersPower Apps for developers
Power Apps for developers
 
SharePoint Performance: Best Practices from the Field
SharePoint Performance: Best Practices from the FieldSharePoint Performance: Best Practices from the Field
SharePoint Performance: Best Practices from the Field
 
Getting your grips on Excel chaos
Getting your grips on Excel chaosGetting your grips on Excel chaos
Getting your grips on Excel chaos
 
Getting Started with Oracle APEX
Getting Started with Oracle APEXGetting Started with Oracle APEX
Getting Started with Oracle APEX
 
Getting Started with Splunk Enterprise Hands-On Breakout Session
Getting Started with Splunk Enterprise Hands-On Breakout SessionGetting Started with Splunk Enterprise Hands-On Breakout Session
Getting Started with Splunk Enterprise Hands-On Breakout Session
 
AUGNYC June 21 Presentations
AUGNYC June 21 PresentationsAUGNYC June 21 Presentations
AUGNYC June 21 Presentations
 
Performance Testing in Oracle Apps
Performance Testing in Oracle AppsPerformance Testing in Oracle Apps
Performance Testing in Oracle Apps
 
What's New in Unifier 16.1
What's New in Unifier 16.1What's New in Unifier 16.1
What's New in Unifier 16.1
 
Taking your “web” app to places you never expected - Ember Fest 2014
Taking your “web” app to places you never expected - Ember Fest 2014Taking your “web” app to places you never expected - Ember Fest 2014
Taking your “web” app to places you never expected - Ember Fest 2014
 
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practicesSPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
SPSBE14 SPSBE02 SharePoint Upgrade reel life experience, best practices
 
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
 
Scaling Plugins in Critical Systems - Jon Mort
Scaling Plugins in Critical Systems - Jon MortScaling Plugins in Critical Systems - Jon Mort
Scaling Plugins in Critical Systems - Jon Mort
 
Oracle Upgrade Project Big Rocks - Done Right!
Oracle Upgrade Project Big Rocks - Done Right!Oracle Upgrade Project Big Rocks - Done Right!
Oracle Upgrade Project Big Rocks - Done Right!
 
Developing for the Atlassian Ecosystem
Developing for the Atlassian EcosystemDeveloping for the Atlassian Ecosystem
Developing for the Atlassian Ecosystem
 
MT AG - KASS - Keep APEX Stupid Simple
MT AG - KASS - Keep APEX Stupid SimpleMT AG - KASS - Keep APEX Stupid Simple
MT AG - KASS - Keep APEX Stupid Simple
 
Go Faster with Process Builder
Go Faster with Process BuilderGo Faster with Process Builder
Go Faster with Process Builder
 
Splunk for Developers
Splunk for DevelopersSplunk for Developers
Splunk for Developers
 
Cognos 11 installation step by step and notes
Cognos 11 installation step by step and notesCognos 11 installation step by step and notes
Cognos 11 installation step by step and notes
 

Destacado

Sentri Webinar: Windows Azure Overview
Sentri Webinar: Windows Azure Overview Sentri Webinar: Windows Azure Overview
Sentri Webinar: Windows Azure Overview Sentri
 
Using Powershell to manage SharePoint
Using Powershell to manage SharePointUsing Powershell to manage SharePoint
Using Powershell to manage SharePointCraig Pilkenton
 
SharePoint Performance at SPS Philly
SharePoint Performance at SPS PhillySharePoint Performance at SPS Philly
SharePoint Performance at SPS PhillySentri
 
SharePoint Administration with PowerShell
SharePoint Administration with PowerShellSharePoint Administration with PowerShell
SharePoint Administration with PowerShellEric Kraus
 
Le filament magazine 31 de juillet et aout 2013
Le filament magazine 31 de juillet et aout 2013 Le filament magazine 31 de juillet et aout 2013
Le filament magazine 31 de juillet et aout 2013 Patrice Piardon
 
SystemCenter webinar 12 6 12
SystemCenter webinar 12 6 12SystemCenter webinar 12 6 12
SystemCenter webinar 12 6 12Sentri
 
Heavy Metal PowerPivot Remastered - Experts Conference
Heavy Metal PowerPivot Remastered - Experts ConferenceHeavy Metal PowerPivot Remastered - Experts Conference
Heavy Metal PowerPivot Remastered - Experts ConferenceSentri
 

Destacado (7)

Sentri Webinar: Windows Azure Overview
Sentri Webinar: Windows Azure Overview Sentri Webinar: Windows Azure Overview
Sentri Webinar: Windows Azure Overview
 
Using Powershell to manage SharePoint
Using Powershell to manage SharePointUsing Powershell to manage SharePoint
Using Powershell to manage SharePoint
 
SharePoint Performance at SPS Philly
SharePoint Performance at SPS PhillySharePoint Performance at SPS Philly
SharePoint Performance at SPS Philly
 
SharePoint Administration with PowerShell
SharePoint Administration with PowerShellSharePoint Administration with PowerShell
SharePoint Administration with PowerShell
 
Le filament magazine 31 de juillet et aout 2013
Le filament magazine 31 de juillet et aout 2013 Le filament magazine 31 de juillet et aout 2013
Le filament magazine 31 de juillet et aout 2013
 
SystemCenter webinar 12 6 12
SystemCenter webinar 12 6 12SystemCenter webinar 12 6 12
SystemCenter webinar 12 6 12
 
Heavy Metal PowerPivot Remastered - Experts Conference
Heavy Metal PowerPivot Remastered - Experts ConferenceHeavy Metal PowerPivot Remastered - Experts Conference
Heavy Metal PowerPivot Remastered - Experts Conference
 

Similar a SharePoint logging & debugging

Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & DebuggingHimmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & DebuggingSentri
 
Assessing the Health of Your SharePoint Farm with SPDocKit
Assessing the Health of Your SharePoint Farm with SPDocKitAssessing the Health of Your SharePoint Farm with SPDocKit
Assessing the Health of Your SharePoint Farm with SPDocKitSummit 7 Systems
 
[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?European Collaboration Summit
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesTeamstudio
 
Building high performance and scalable share point applications
Building high performance and scalable share point applicationsBuilding high performance and scalable share point applications
Building high performance and scalable share point applicationsTalbott Crowell
 
Ten query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should knowTen query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should knowKevin Kline
 
Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Mikael Svenson
 
Practical Tips for Migrating SharePoint Customizations to Office 365
Practical Tips for Migrating SharePoint Customizations to Office 365Practical Tips for Migrating SharePoint Customizations to Office 365
Practical Tips for Migrating SharePoint Customizations to Office 365Haniel Croitoru
 
Himmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
Himmelstein SP Connections Session HAD308 Heavy Metal Power PivotHimmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
Himmelstein SP Connections Session HAD308 Heavy Metal Power PivotSentri
 
Building enterprise platforms - off the beaten path - SharePoint User Group U...
Building enterprise platforms - off the beaten path - SharePoint User Group U...Building enterprise platforms - off the beaten path - SharePoint User Group U...
Building enterprise platforms - off the beaten path - SharePoint User Group U...Andy Talbot
 
Build your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShellBuild your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShellRyan Dennis
 
Building SharePoint Enterprise Platforms - Off the beaten path
Building SharePoint Enterprise Platforms - Off the beaten pathBuilding SharePoint Enterprise Platforms - Off the beaten path
Building SharePoint Enterprise Platforms - Off the beaten pathAndy Talbot
 
Profiling and Tuning a Web Application - The Dirty Details
Profiling and Tuning a Web Application - The Dirty DetailsProfiling and Tuning a Web Application - The Dirty Details
Profiling and Tuning a Web Application - The Dirty DetailsAchievers Tech
 
SPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastSPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastMark Rackley
 
Sitecore user group mumbai sitecore commerce extension
Sitecore user group mumbai  sitecore commerce extensionSitecore user group mumbai  sitecore commerce extension
Sitecore user group mumbai sitecore commerce extensionJitendra Soni
 
High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013C5 Insight
 
Developer Night - Opticon18
Developer Night - Opticon18Developer Night - Opticon18
Developer Night - Opticon18Optimizely
 
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...Patrick Guimonet
 
Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Vadym Kazulkin
 

Similar a SharePoint logging & debugging (20)

Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & DebuggingHimmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
 
Assessing the Health of Your SharePoint Farm with SPDocKit
Assessing the Health of Your SharePoint Farm with SPDocKitAssessing the Health of Your SharePoint Farm with SPDocKit
Assessing the Health of Your SharePoint Farm with SPDocKit
 
[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?[Pinto] Is my SharePoint Development team properly enlighted?
[Pinto] Is my SharePoint Development team properly enlighted?
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best Practices
 
Building high performance and scalable share point applications
Building high performance and scalable share point applicationsBuilding high performance and scalable share point applications
Building high performance and scalable share point applications
 
Ten query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should knowTen query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should know
 
Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013Nsc 2013 06-17 - random rants on 2013
Nsc 2013 06-17 - random rants on 2013
 
Practical Tips for Migrating SharePoint Customizations to Office 365
Practical Tips for Migrating SharePoint Customizations to Office 365Practical Tips for Migrating SharePoint Customizations to Office 365
Practical Tips for Migrating SharePoint Customizations to Office 365
 
Himmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
Himmelstein SP Connections Session HAD308 Heavy Metal Power PivotHimmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
Himmelstein SP Connections Session HAD308 Heavy Metal Power Pivot
 
Building enterprise platforms - off the beaten path - SharePoint User Group U...
Building enterprise platforms - off the beaten path - SharePoint User Group U...Building enterprise platforms - off the beaten path - SharePoint User Group U...
Building enterprise platforms - off the beaten path - SharePoint User Group U...
 
Build your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShellBuild your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShell
 
Agile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTSAgile scrum with Microsoft VSTS
Agile scrum with Microsoft VSTS
 
Building SharePoint Enterprise Platforms - Off the beaten path
Building SharePoint Enterprise Platforms - Off the beaten pathBuilding SharePoint Enterprise Platforms - Off the beaten path
Building SharePoint Enterprise Platforms - Off the beaten path
 
Profiling and Tuning a Web Application - The Dirty Details
Profiling and Tuning a Web Application - The Dirty DetailsProfiling and Tuning a Web Application - The Dirty Details
Profiling and Tuning a Web Application - The Dirty Details
 
SPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastSPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint Beast
 
Sitecore user group mumbai sitecore commerce extension
Sitecore user group mumbai  sitecore commerce extensionSitecore user group mumbai  sitecore commerce extension
Sitecore user group mumbai sitecore commerce extension
 
High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013High-level Guide: Upgrading to SharePoint 2013
High-level Guide: Upgrading to SharePoint 2013
 
Developer Night - Opticon18
Developer Night - Opticon18Developer Night - Opticon18
Developer Night - Opticon18
 
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
 
Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...
 

Más de Sentri

Uncover the Benefits of Office 365 & Windows Azure
Uncover the Benefits of Office 365 & Windows AzureUncover the Benefits of Office 365 & Windows Azure
Uncover the Benefits of Office 365 & Windows AzureSentri
 
Discover SharePoint 2013 & Dynamics CRM
Discover SharePoint 2013 & Dynamics CRMDiscover SharePoint 2013 & Dynamics CRM
Discover SharePoint 2013 & Dynamics CRMSentri
 
Explore Microsoft Lync & Exchange 2013 Webinar
Explore Microsoft Lync & Exchange 2013  WebinarExplore Microsoft Lync & Exchange 2013  Webinar
Explore Microsoft Lync & Exchange 2013 WebinarSentri
 
Relationship Management for Property Investment Management webinar 2.5.13
Relationship Management for Property Investment Management webinar 2.5.13Relationship Management for Property Investment Management webinar 2.5.13
Relationship Management for Property Investment Management webinar 2.5.13Sentri
 
SharePoint 2013 Communities Overview for SPS Philly
SharePoint 2013 Communities Overview for SPS PhillySharePoint 2013 Communities Overview for SPS Philly
SharePoint 2013 Communities Overview for SPS PhillySentri
 
Move Storage to the Cloud with Windows Azure webinar 2.21.2013
Move Storage to the Cloud with Windows Azure webinar 2.21.2013Move Storage to the Cloud with Windows Azure webinar 2.21.2013
Move Storage to the Cloud with Windows Azure webinar 2.21.2013Sentri
 
SharePoint 2013 Extranets webinar
SharePoint 2013 Extranets webinarSharePoint 2013 Extranets webinar
SharePoint 2013 Extranets webinarSentri
 
Lync Intro Exchange User Group New York 2_12_2013
Lync Intro Exchange User Group New York 2_12_2013Lync Intro Exchange User Group New York 2_12_2013
Lync Intro Exchange User Group New York 2_12_2013Sentri
 
Lync IM and Presence Sentri webinar 2.7.13
Lync IM and Presence Sentri webinar 2.7.13 Lync IM and Presence Sentri webinar 2.7.13
Lync IM and Presence Sentri webinar 2.7.13 Sentri
 
WEBINAR: Uncover the Benefits of Office 365 and Windows Azure
WEBINAR: Uncover the Benefits of Office 365 and Windows Azure WEBINAR: Uncover the Benefits of Office 365 and Windows Azure
WEBINAR: Uncover the Benefits of Office 365 and Windows Azure Sentri
 
SharePoint 2013 Unveiled webinar 1.24.13
SharePoint 2013 Unveiled webinar 1.24.13SharePoint 2013 Unveiled webinar 1.24.13
SharePoint 2013 Unveiled webinar 1.24.13Sentri
 
Webinar: Understanding the System Center suite & Windows Server 2012
Webinar: Understanding the System Center suite & Windows Server 2012 Webinar: Understanding the System Center suite & Windows Server 2012
Webinar: Understanding the System Center suite & Windows Server 2012 Sentri
 
Sentri Webinar: Microsoft Lync Exchange 2013
Sentri Webinar: Microsoft Lync Exchange 2013Sentri Webinar: Microsoft Lync Exchange 2013
Sentri Webinar: Microsoft Lync Exchange 2013Sentri
 
Windows Azure overview webinar by Sentri
Windows Azure overview webinar by SentriWindows Azure overview webinar by Sentri
Windows Azure overview webinar by SentriSentri
 
Exchange 2013 webinar
Exchange 2013 webinarExchange 2013 webinar
Exchange 2013 webinarSentri
 
Share point 2013 webinar november 2012
Share point 2013 webinar november 2012Share point 2013 webinar november 2012
Share point 2013 webinar november 2012Sentri
 
Empowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BIEmpowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BISentri
 
Empowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BIEmpowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BISentri
 
Exchange 2013
Exchange 2013Exchange 2013
Exchange 2013Sentri
 
Microsoft Lync 2013 preview
Microsoft Lync 2013 previewMicrosoft Lync 2013 preview
Microsoft Lync 2013 previewSentri
 

Más de Sentri (20)

Uncover the Benefits of Office 365 & Windows Azure
Uncover the Benefits of Office 365 & Windows AzureUncover the Benefits of Office 365 & Windows Azure
Uncover the Benefits of Office 365 & Windows Azure
 
Discover SharePoint 2013 & Dynamics CRM
Discover SharePoint 2013 & Dynamics CRMDiscover SharePoint 2013 & Dynamics CRM
Discover SharePoint 2013 & Dynamics CRM
 
Explore Microsoft Lync & Exchange 2013 Webinar
Explore Microsoft Lync & Exchange 2013  WebinarExplore Microsoft Lync & Exchange 2013  Webinar
Explore Microsoft Lync & Exchange 2013 Webinar
 
Relationship Management for Property Investment Management webinar 2.5.13
Relationship Management for Property Investment Management webinar 2.5.13Relationship Management for Property Investment Management webinar 2.5.13
Relationship Management for Property Investment Management webinar 2.5.13
 
SharePoint 2013 Communities Overview for SPS Philly
SharePoint 2013 Communities Overview for SPS PhillySharePoint 2013 Communities Overview for SPS Philly
SharePoint 2013 Communities Overview for SPS Philly
 
Move Storage to the Cloud with Windows Azure webinar 2.21.2013
Move Storage to the Cloud with Windows Azure webinar 2.21.2013Move Storage to the Cloud with Windows Azure webinar 2.21.2013
Move Storage to the Cloud with Windows Azure webinar 2.21.2013
 
SharePoint 2013 Extranets webinar
SharePoint 2013 Extranets webinarSharePoint 2013 Extranets webinar
SharePoint 2013 Extranets webinar
 
Lync Intro Exchange User Group New York 2_12_2013
Lync Intro Exchange User Group New York 2_12_2013Lync Intro Exchange User Group New York 2_12_2013
Lync Intro Exchange User Group New York 2_12_2013
 
Lync IM and Presence Sentri webinar 2.7.13
Lync IM and Presence Sentri webinar 2.7.13 Lync IM and Presence Sentri webinar 2.7.13
Lync IM and Presence Sentri webinar 2.7.13
 
WEBINAR: Uncover the Benefits of Office 365 and Windows Azure
WEBINAR: Uncover the Benefits of Office 365 and Windows Azure WEBINAR: Uncover the Benefits of Office 365 and Windows Azure
WEBINAR: Uncover the Benefits of Office 365 and Windows Azure
 
SharePoint 2013 Unveiled webinar 1.24.13
SharePoint 2013 Unveiled webinar 1.24.13SharePoint 2013 Unveiled webinar 1.24.13
SharePoint 2013 Unveiled webinar 1.24.13
 
Webinar: Understanding the System Center suite & Windows Server 2012
Webinar: Understanding the System Center suite & Windows Server 2012 Webinar: Understanding the System Center suite & Windows Server 2012
Webinar: Understanding the System Center suite & Windows Server 2012
 
Sentri Webinar: Microsoft Lync Exchange 2013
Sentri Webinar: Microsoft Lync Exchange 2013Sentri Webinar: Microsoft Lync Exchange 2013
Sentri Webinar: Microsoft Lync Exchange 2013
 
Windows Azure overview webinar by Sentri
Windows Azure overview webinar by SentriWindows Azure overview webinar by Sentri
Windows Azure overview webinar by Sentri
 
Exchange 2013 webinar
Exchange 2013 webinarExchange 2013 webinar
Exchange 2013 webinar
 
Share point 2013 webinar november 2012
Share point 2013 webinar november 2012Share point 2013 webinar november 2012
Share point 2013 webinar november 2012
 
Empowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BIEmpowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BI
 
Empowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BIEmpowering Collaboration through Self-Service BI
Empowering Collaboration through Self-Service BI
 
Exchange 2013
Exchange 2013Exchange 2013
Exchange 2013
 
Microsoft Lync 2013 preview
Microsoft Lync 2013 previewMicrosoft Lync 2013 preview
Microsoft Lync 2013 preview
 

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

SharePoint logging & debugging

  • 1. SHAREPOINT LOGGING & DEBUGGING: THE TROUBLESHOOTER’S BEST FRIEND Cornelius J. van Dyk Jason Himmelstein Enterprise Architect, Crayveon Corporation SharePoint Practice Director, Sentri, Inc www.cjvandyk.com/blog www.sharepointlonghorn.com c@sharepointmvp.net jhimmelstein@sentri.com @cjvandyk @sharepointlhorn
  • 2. Thank you for being a part of the first SharePoint Saturday Austin • Please turn off all electronic devices or set them to vibrate. • If you must take a phone call, please do so in the hall so as not to disturb others. • Open wireless access is available with no password • Feel free to “tweet and blog” during the session • Thanks to our Title Sponsors:
  • 3. ABOUT JASON • SharePoint Practice Director, Sentri Inc. • Microsoft vTSP – virtual Technology Solutions Professional • SharePoint Foundation Logger (http://spflogger.codeplex.com) • Web: www.sentri.com • Blog: www.sharepointlonghorn.com • Twitter: @sharepointlhorn • LinkedIn: www.linkedin.com/in/jasonhimmelstein
  • 4. ABOUT CORNELIUS • Chief SharePoint Architect, Crayveon • 7 time Microsoft MVP • MCITP, MCTS SharePoint 2010 • SharePoint Foundation Logger (http://spflogger.codeplex.com) • Blog: www.cjvandyk.com/blog • Twitter: @cjvandyk • LinkedIn: http://www.linkedin.com/in/cjvandyk
  • 5. SHAREPOINT LOGGING – A HISTORY • How has SharePoint traditionally done logging – IIS Logs – ULS Logs – Upgrade Logs – PSConfig Logs
  • 6. SHAREPOINT LOGGING – NEW & IMPROVED! New Functionality in SharePoint 2010 – Correlation IDs – Flood Protection – Developer Dashboard – Usage Logging (Web Analytics) – Configurable ULS Logs
  • 7. CORRELATION IDS • What is this weird 32 character message and why do I care? • How are they used in SharePoint 2010? • Why are they useful?
  • 8. FLOOD PROTECTION • I’m smart, why don’t I want to see everything? • How does Flood Protection work? • How do I turn it off and on? With this option enabled, if the same event fires 5 times within 2 minutes, SharePoint will suppress the event from logging and throw a summary event at the 2 minute mark. The default behavior and can be customized using PowerShell and the Set-SPDiagnosticConfig cmdlet.
  • 9. FLOOD PROTECTION (CONT’D) • How do I turn it off and on?
  • 10. THE DEVELOPER DASHBOARD • How do I turn it on for a limited scope only? • There’s some great info here for developers, but what does it tell me from an Operations/Support perspective? • How can I convince my development team to code for it? • SPMonitored Scope – Not available in Sandboxed Solutions
  • 11. THE DEVELOPER DASHBOARD (CONT’D) • Enabling the dashboard – 3 modes • Off • On • OnDemand (recommended) – STSADM • stsadm -o setproperty -pn developer-dashboard -pv [off | on | ondemand] – PowerShell Add-PSSnappin Microsoft.SharePoint.PowerShell –EA 0 $j = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $j.DisplayLevel = 'OnDemand'; $j.Update() Optional parameters $j.TraceEnabled = $true; $j.RequiredPermissions = '%MaskSetting%';
  • 13.
  • 14.
  • 15. SPMONITOREDSCOPE • The SPMonitoredScope class resides in the Microsoft.SharePoint.Utilities namespace. – Example of wrapped code: • A tip for the best and most effective use of SPMonitoredScope: – All calls to external components, such as custom databases, external Web services, and so on, should be wrapped with SPMonitoredScope. This will make it easier for administrators to identify them as points of failure, and to isolate the problem quickly. • Sandbox Solutions are not able to be wrapped in SPMonitoredScope • Measured statistics are written to the ULS logs as well as to the Developer Dashboard. • There are a few limitations for using SPMonitoredScope. – Only calls to SharePoint databases are captured. – Only the code wrapped with SPMonitoredScope that resides on the front-end Web server appears on the Developer Dashboard. Code that executes on application servers only displays the SPMonitoredScope information in the ULS logs of the computer that the code is running on. • Create custom monitors by adding ISPScopedPerformanceMonitor to the current SPMonitoredScope
  • 17. HEALTH DATA COLLECTION • Health Logging timer jobs are disabled by default – Be selective in what you want to enable • How to enable: – Central Admin | /_admin/ServiceJobDefinitions.aspx • Filter by Disabled and enable one by one – Powershell commandlet: SPDiagnosticProvider – Enable all Health Data Collection option in Central Admin | /_admin/LogUsage.aspx
  • 18. USAGE LOGGING • The drivers behind Web Analytics • True detail on who clicked what, and what they saw
  • 19. CONFIGURABLE ULS LOGS • Size limitation • Easy Granular tuning, with visibility into what’s tuned • Ability to specify number of days to log
  • 20. DEMO • Web Analytics • In Central Admin – Administrative Report Library – Search Admin Reports – Health Reports -Slowest Pages & Top Active Users – Break down by Web Application – Traffic, Search Inventory • Configurable ULS Logs
  • 21. ONE DATABASE TO RULE THEM ALL: THE LOGGING DATABASE • What can it log? • How do I tell it to start logging? • How do I get the information out? • Are there tools out there to help me see the data easier? – BDC models – SQL Views – CodePlex Projects • Are there performance implications?
  • 22. DEMO • SQL Views • CodePlex Projects – http://SPFLogger.codeplex.com
  • 24. NTEVENT ANALYTICS IN SPFLOGGER
  • 26. TIMERJOB LOG IN SPFLOGGER
  • 28. HANDY REFERENCE INFORMATION • Useful Stuff • Jason’s info – http://www.sharepointlonghorn.com – jase@sharepointlonghorn.com – @sharepointlhorn • Corne’s info – http://www.cjvandyk.com/blog – c@crayveon.com – @cjvandyk • Todd Carter’s info – @toddca – http://www.todd-carter.com/ • Russ Maxwell’s Blog – http://blogs.msdn.com/b/russmax • Microsoft References – SPMonitoredScope Class • http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.spmonitoredscope(office.14).aspx – Using SPMonitoredScope Class • http://msdn.microsoft.com/en-us/library/ff512758.aspx • Download links • http://spflogger.codeplex.com • Microsoft SharePoint 2010 Administration Toolkit v2.0
  • 29. Thanks to our Sponsors THANKS TO OUR OTHER SPONSORS!