fixing static resource logging