Skip to main content

Set-LXCAPSLogLevel

This cmdlet modifies the log level of the PowerShell cmdlets for the Lenovo XClarity Administrator server.

Note
You cannot pipe objects to this cmdlet.

Syntax

Set-LXCAPSLogLevel  -LogLevel String
[CommonParameter]

Parameters

-Loglevel String
Specifies the type of errors that are added to the log. You can specify one of the following log levels:
  • Error. Messages with a severity of Error are added to the log.

  • Warn. Messages with a severity of Error and Warning are added to the log.

  • Info. Messages with a severity of Error, Warning, and Info are added to the log. This is the default level.

  • Debug. Messages of all severities and additional information that is required to debug issues are added to the log.

CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

This cmdlet modifies the level of errors that are added to the PowerShell log. No objects are returned.

Examples

The following example adds messages of all severities and additional debug information to the log.

Set-LXCAPSLogLevel -LogLevel Debug