improved logging of aggregation