Command syntax
The errlevel and loglevel are attributes of the SM_System class and therefore the following commands can be used to change the errlevel and loglevel settings for a Smarts IP domain. The dmctl command syntax used to set the errlevel or loglevel for a running domain is as follows:
dmctl -s <domain> put SM_System::SM-System::logLevel <loglevel>
dmctl -s <domain> put SM_System::SM-System::errLevel <errlevel>
Command example
The following command example sets the errlevel to Critical, which means the message must be Critical or higher to be printed to the domain log:
./dmctl -s INCHARGE-AM-PM put SM_System::SM-System::errlevel Critical
Command setting options
The available options for errlevel and loglevel settings as documented in the Smarts IP System Administration Guide are as follows:
Note that Fatal is equivalent to Emergency, Alert, or Critical. The default setting for errlevel is Warning, while the default setting for loglevel is Error.