return im.log in case of failure