Configure log settings
By default, all system messages are logged. In addition, by default, the system message logs are located in the logs
directory in the directory in which NetApp SMI-S Provider is installed. You can change the location of and the level of system messages that are written to the CIM server log. For example, you can choose to have logs stored in a directory that you specify and have only fatal system messages written to the CIM server log.
-
You must already have login credentials as Administrator.
-
You must already have logged in to the host system as Administrator.
-
Access NetApp SMI-S Provider.
-
Complete one of the following actions:
Action Command Additional information Change the system message logging level
cimconfig -s logLevel=new_log_level -p
If you wanted to change the logging level to “INFORMATION”, for example, you would input this command:
cimconfig -s logLevel=INFORMATION -p
Change the system message log directory
cimconfig -s logdir=new_log_directory -p
If thenew_log_directory
contains space, you must enclose it in quotation marks ("new log directory"
).If you wanted to change the log directory to “serverlogs”, for example, you would input this command:
cimconfig -s logdir=serverlogs -p
-
Restart the CIM server:
smis cimserver restart