How to demote the VIP check fails from UVM ERROR to UVM NOTE from command line options

I want to demote vip register checker fails uvm error to uvm note to make test pass.
the following way i tried but it is not working +uvm_set_severity=m_croc_top_env.jtag_agent_bfm0,invalid_tdo_in_state_other_than_shift_states,UVM_ERROR,UVM_WARNING"

Could please suggest why it is not working?

Can you show use the complete error message that is not getting demoted.

Hi Dave, Below is the complete error message
UVM_ERROR
/third_party_installs/synopsys/VC_VIP_Library/vip/svt/common/T-2022.03/sverilog/src/vcs/svt_err_check_stats.svp(583) @ 38822.2 ns: uvm_test_top.m_croc_top_env.jtag_agent_bfm0 [register_fail:IEEE Std 1149.1-2001:Section 6.2.1:invalid_tdo_in_state_other_than_shift_states] Description: This check is triggered if High-z value is not detected over TDO in any state other than SHIFT-IR/DR state, Reference: IEEE Std 1149.1 : Section 6.2.1 : Table 6-2 - TDO Value = 1

Also, i tried in the following way- but still I can see the UVM_ERROR in the log file.
end_of_elaboration_phase in my base test
uvm_top.set_report_severity_id_override(UVM_ERROR,“register_fail:IEEE Std 1149.1-2001:Section 6.2.1:invalid_tdo_in_state_other_than_shift_states”,UVM_INFO);

use

+uvm_set_severity=uvm_test_top.m_croc_top_env.jtag_agent_bfm0,invalid_tdo_in_state_other_than_shift_states,UVM_ERROR,UVM_WARNING"

Tried but not working and still UVM Errors in the log
sim command :
gensim -f vcs_standard_sim --test dummy_uvm_test.tst --tool_options_file $PROJECT_ROOT/tools/gensim/sim_vcs_fsdb --grid_options “–mem 10G” --tool_options “+DFT +sys_ram1 +UVM_TESTNAME=system_address_top_and_bottom_dft_jtag_access_test +uvm_set_severity=uvm_test_top.m_croc_top_env.jtag_agent_bfm0,invalid_tdo_in_state_other_than_shift_states,UVM_ERROR,UVM_WARNING”

some synopsys VIP are not able to use this way, I guess, as I was also facing this kind of issue month ago.
but I didn’t use jtag VIP, it’s another svt VIP which I guess a similar approach may help you.
there is a class named **_error_catcher in the folder of VIP, it can help to downgrade the uvm error to uvm_info, I used this class to omit some vip uvm_error.
if there is also a error_catcher class in your jtag vip, I think we can extend this class to do something you want