How do I view the current Diagnostic Logging settings for the SharePoint farm?
i.e. the settings for Least critical event to report to the event log
and Least critical event to report to the trace log
?
Thanks.
You would use Get-SPLogLevel -Identity <value>
, e.g. Get-SPLogLevel -Identity Database
to show the current level for the Database category. You can also exclude the Identity parameter to get all categories.
Their are two ways to check this.
[Get-SPLogLevel][1]
. This example displays throttle levels for all categories.Central Admin> Monitoring > Configure Diagnostic logging
. On this page you can expand all the categories and check th level of Log.[Get-SPLogLevel][1]
doesn't work.