stsadm -o setlogginglevel -tracelevel none
- At the Windows PowerShell command prompt (that is, PS C:\>), type the following command, and then press ENTER:
Set-SPLogLevel -TraceSeverity {None | Unexpected | Monitorable | Medium | High | Verbose} -EventSeverity {None | Information | Warning | Error | Critical | Verbose} [-Identity <Category name…>] -Verbose
You can use theIdentity
parameter to specify one or more categories to change — for example, Administration. If you do not specify the value for theIdentity
parameter, all categories are changed.To view the current settings, typeGet-SPLogLevel
, and then press ENTER.To set all categories back to default levels, typeClear-SPLogLevel
, and then press ENTER.
No comments:
Post a Comment