Set-LXC1PSLogLevel
This cmdlet modifies the log level of the PowerShell cmdlets for the XClarity One portal. Log files are stored in your home folder, under the /LenovoSupport/XCOnePowerShellLogs path.
Note
You cannot pipe objects to this cmdlet.
Syntax
Set-LXC1PSLogLevel -LogLevel String
[CommonParameter]
Parameters
- -Loglevel String
- Specifies the type of errors that are to be written 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. (default) Messages with a severity of Error, Warning, and Info are added to the log. This is the default level.
Debug. Messages of all severity and additional information that is required to debug issues are added to the log. These messages are written to a dedicated log file in the debug folder.
- 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-XC1PSLogLevel -LogLevel Debug
Give documentation feedback