Enabling Verbose in
SharePoint
----------------------------------------------
We can enable the
verbose in SharePoint using PowerShell and Central Administration
Using PowerShell
commands to enable and disable verbose
For better practice use below command to generate new log file then enable verbose.
For better practice use below command to generate new log file then enable verbose.
Step-1: go to SharePoint products and select “Management shell”
Open Management shell as “Administrator” and type New-SpLogFile
Step-2: Set log level to
verbose
Set-SPLogLevel
-TraceSeverity Verbose -EventSeverty Verbose
Step-3: Set log
level back to default (After recreating the issue and collecting the
logs set the log level back to default)
Set-SPLogLevel -TraceSeverity
Medium
or
Get-SPLogLevel | Clear-SPLogLevel
or
Get-SPLogLevel | Clear-SPLogLevel
Using Central Admin to enable and disable verbose
1) Open your Central
Administration
2) Click Monitoring and Click “Configure Diagnostic Logging”
3) Select “All Categories” and
Select
“Verbose” for “Least critical event to report to the event log”
Select “Verbose” for “Least critical event to report to the event log”
4) Click "Ok".
5) After
recreating the issue and collecting the logs set the log level back to default
as mentioned below
Select “Reset to default” for “Least critical event to report to the trace log”




No comments:
Post a Comment