added resource name and method to log file instead of method name only