improve log if tx log failed