Print log after failure