Monday, 18 April 2011

SharePoint 2010 : Verbose diagnostic logging by powershell

A simple one really, but if you want to turn on verbose diagnostic logging when central admin is being a troubled soul this command can be used in the PowerShell command window.

Set-SPLogLevel -TraceSeverity Verbose -EventSeverity Verbose -verbose

More info at : http://technet.microsoft.com/en-us/library/ee748656.aspx#section3

Take care for now.

Update

Thought I might as well put this in here too. If you want to update in STSADM you can with:

stsadm -o setlogginglevel -tracelevel verbose

SharePoint your lives away.