Add a bit more logging to caching aspect.