only output these logging lines if there are entities to list...