check logData not null, rm unit TextView, union unit with value text