SharePoint Logging and Debugging for SP Tech Con
-
Upload
sentri -
Category
Technology
-
view
508 -
download
0
description
Transcript of SharePoint Logging and Debugging for SP Tech Con
SharePoint Logging & Debugging The Troubleshooter’s Best Friend
Jason Himmelstein SharePoint Practice Director, Sentri, Inc.
@sharepointlhorn
Copyright 2012 © Sentri, Inc. All rights reserved.
http://spflogger.codeplex.com
www.sentri.com
www.sharepointlonghorn.com
@sharepointlhorn
www.linkedin.com/in/jasonhimmelstein
Copyright 2012 © Microsoft Corporation and Sentri, Inc. All rights reserved.
2012 East Region
Partner of the Year
Northeast Partner of the Year 2012, 2011 & 2010
Only Partner to Win 3 Consecutive Years
2011 Awards Voice & VTSP
Israel - Development &
Engineering
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
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.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
• How do I turn it off and on?
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
$j = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $j.DisplayLevel = ; $j.Update()
$j = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$j.DisplayLevel = 'OnDemand';
$j.Update()
Optional parameters
$j.TraceEnabled = $true;
$j.RequiredPermissions = '%MaskSetting%';
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Configurable ULS Logs
Flood Protection
Developer Dashboard
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
SQL Views
CodePlex Projects
http://SPFLogger.codeplex.com
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Microsoft Corporation and Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.
http://[email protected]
http://www.cjvandyk.com/[email protected]
http://www.todd-carter.com/
http://blogs.msdn.com/b/russmax
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.spmonitoredscope(office.14).aspx
http://msdn.microsoft.com/en-us/library/ff512758.aspx
http://spflogger.codeplex.comMicrosoft SharePoint 2010 Administration Toolkit v2.0
Copyright 2012 © Sentri, Inc. All rights reserved.
Copyright 2012 © Sentri, Inc. All rights reserved.