Set_report_severity_override not working

Hi,
I am trying to override reporting severity ERROR to WARNING in Testbench top.

uvm_top.set_report_severity_override(UVM_ERROR,UVM_WARNING);

It is not showing any error and there is no expected changes in the report message. Please help.

Note: uvm-1.1 is used

In reply to jeyanthis:

You need to provide a lot more information.

If there is no error, what error is supposed to be demoted to a warning?

uvm_top.set_report_severity_override only overrides errors reported by the global reported, (those not in a component)