sharepoint logging and debugging for sp tech con

Post on 14-Jan-2015

505 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Jason Himmelstein presents at SP Tech Con - SharePoint Logging and Debugging

TRANSCRIPT

SharePoint Logging & Debugging The Troubleshooter’s Best Friend

Jason Himmelstein SharePoint Practice Director, Sentri, Inc.

jhimmelstein@sentri.com

@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://www.sharepointlonghorn.comjase@sharepointlonghorn.com

http://www.cjvandyk.com/blogc@crayveon.com

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.

top related