Cleaned up logging of resource URL.