This topic provides the procedure to change the current log, error, and trace levels.

To change the current log, error, and trace levels,

Procedure

  • Invoke the put method on SM_System::SM-System::logLevel, SM_System::SM-System::errLevel, or SM_System::SM-System::traceLevel, and the level is changed appropriately.

Example

In this example, the trace level setting is changed to None in the MYDM Domain Manager:

dmctl -s MYDM put SM_System::SM-System::traceLevel None

When you change the log, error or trace levels by using the put method on one of these computed attributes, dmctl does not return anything. However, a message is printed in the log file. The log message will appear similar to the following:

[September 27, 2013 2:04:11 AM EDT +281ms] t@1158101312 SM_ProtocolEngine-5203 21295 dmctl JM_MSG-*-JM_TRACE_LEVEL_CHANGED-User 'sebasg', using remote dmctl client (id 5203), on host killian.lss.emc.com with credentials admin has changed the Trace level to None; in file "/emc/sebasg/svn/main/smarts/repos/jiim/SM_JIIM_Support_Impl.c" at line 459