You configure a SharePoint 2010 farm. You need to gather data from existing logs on critical events
only. What should you do?
A.
Run the following Windows PowerShell cmdlet:
Set-SPLogLevel -EventSeverity ErrorCritical
Get-SPLogLevel
B.
Run the following Windows PowerShell cmdlet:
Get-SPLogEvent | Out-GridView
C.
Run the following Windows PowerShell cmdlet:
Get-SPLogLevel -Identity “Cricial Issues”
D.
Use the SharePoint Health Analyzer feature.
Explanation:
Set-SPLogLevel -EventSeverity ErrorCritical: Specifies the category level to be set. The category level
is any one of the following values:
– None
– ErrorCritical
– Error
– Warning
– Information
– Verbose
The user can retrieve one or more categories from the Get-SPLogLevel cmdlet,
http://technet.microsoft.com/en-us/library/ff607887.aspx for setting the Loglevel and severitylevel,
http://technet.
microsoft.com/en-us/library/ff607576.aspx for displaying the logs