Disable UVM_WARNING from getting printed

I wanted to know how I can disable the UVM_WARNING message to be printed to the log?

Few options:

  1. Command line argument:
    uvm_cmdline_processor

    Example:
    +uvm_set_action=uvm_test_top.env0.*,ALL,UVM_ERROR,UVM_NO_ACTION

  2. Using: set_report_severity_id_override
    https://verificationacademy.com/verification-methodology-reference/uvm/src/base/uvm_report_object.svh

    Example:
    uvm_root::get().set_report_severity_id_override(UVM_WARNING,“my_test”,UVM_INFO);

  3. Using the uvm_report_catcher to tweak the severity of the messages:
    uvm_report_catcher

Thank you! I was able to suppress the warnings.

You are welcome.
Which option did you use eventually?

I used the second option-
base_class_obj.set_report_severity_id_override(UVM_WARNING,“my_test”,UVM_INFO);