Changing token/format mismatch to logging