crsctl set log {[crs | css | evm "component_name=log_level, [...]"] | [all=log_level]}
You can also set log levels for the agents of specific resources, as follows:
crsctl set log res "resource_name=log_level, [...]"
You can set log levels for various components of the three modules, CRS, CSS, and EVM. If you choose the all
parameter, then you can set log levels for all components of one module with one command. Use the crsctl lsmodules
command to obtain a list of components for each module.
Enter a comma-delimited list of component name-log level pairs enclosed in double quotation marks (""
).
Note:
Separate component name-log level pairs with an equals sign (=
) in Oracle Clusterware 11g release 2 (11.2.0.3), and later. Previous Oracle Clusterware versions used a colon (:
).
The log_level
is a number from 1
to 5
that sets the log level for the component or resource, where 1 is the least amount of log output and 5 provides the most detailed log output. The default log level is 2.
To set log levels for resources, specify the name of a particular resource, or a comma-delimited list of resource name-log level pairs enclosed in double quotation marks (""
).