Print log on failure