In reply to chr_sue:
The uvm_*_context just allows you to change the emitter of the message not the file path. By setting the emitter (context) to be the uvm_top for instance you are going to avoid the hier printing. What you’be asked is: can i shorten the print ?