This WSFC cmdlet enables you to set the cluster log level, which specifies what kind of messages are stored in the log.
Syntax
Set-ClusterLog -Level 1 |
2 |
3 |
4 |
5 [-Size LogSize] [<CommonParameters>]
Description
This cmdlet sets the level of detail you want for the cluster log. The default level is 3, which includes errors, warnings, and some additional information.
There are five levels of logging:
- Error
- Warning
- Informational
- Verbose
- Debug (which generates a great deal of data)
Parameters
- -Level 1 |
2 |
3 |
4 |
5
- Specifies the log level.
- -Size LogSize
- Specifies the size of the log in MB. Values can be from 8 through 1024.
Example
The following example sets the cluster log to level 3.
Set-ClusterLog -Level 3