Print only the file name and exclude file path getting printed in the log file

In reply to maximus:

Simply extend the uvm_report_server class and override the compose message creating your own message with format. Anyway you could implement the a function which works on a given string starting from the end up to the first dot for instance or tue second one (the first one could ne the .sv extension). Then in your env you declare it and build it. In this way the nee report server class will be used shortening the message.