Added some extra logging to config cache functions