BlLogger - setLogLevel
BlLogger - setLogLevel
Description :
This command sets the log level of a logger that you specify on the Application Server. The logger name should be a fully qualified Java class or package name.
Return type : void
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
loggerName | String | A string that provides the name of the logger to be updated in the form of a fully qualified Java class or package name. |
level | String | Log level to be used. This can be set to debug, info, warn, or error. |
Example
The following example shows how to set debug-level logging for database activity:
Script
# Enter the following command:
blcli BlLogger setLogLevel com.bladelogic.om.infra.app.db debug
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*