You can retrieve the current levels of SM_System::SM-System::logLevel, SM_System::SM-System::errLevel, or SM_System::SM-System::traceLevel. A string is returned which represents the current level, such as "Warning", "Error", or "Fatal". For example:
my $smsystem = $session->object("SM_System","SM-System"); my $curr_error_level = $sm_system->{errLevel};