Improve logging of cached category graph.