You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The log output in DefaultCacheAwareContextLoaderDelegate.loadContext(…) currently logs details about the cache key used to store or obtain an ApplicationContext instance, but not the object identifier of the context stored or obtained.
If you try to debug a caching issue, it would be helpful if the context identifier was logged as well so that you can find out at what point (or rather: by which test case) the instance retrieved was originally created.
I locally tweaked the log statements to:
logger.debug(String.format("Storing ApplicationContext %s in cache under key [%s]", System.identityHashCode(context), mergedContextConfiguration));
The text was updated successfully, but these errors were encountered:
The log output in
DefaultCacheAwareContextLoaderDelegate.loadContext(…)
currently logs details about the cache key used to store or obtain anApplicationContext
instance, but not the object identifier of the context stored or obtained.If you try to debug a caching issue, it would be helpful if the context identifier was logged as well so that you can find out at what point (or rather: by which test case) the instance retrieved was originally created.
I locally tweaked the log statements to:
The text was updated successfully, but these errors were encountered: