Remove resource string in trace message

#2920