Thanks. This have solved my problems.
If I use uvm_report_xxx function , I can use set_report_verbosity_level to control what I want to print. But when I call print function to print the variable with field automation, I can't find any way to disable the print except to comment the function . Please give some recommend for this . Thanks.