taxon ids before determining host for logging