add more logging for groupby caching