[java-opensaml COMMIT] /trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/client/PopulateClientStor...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Aug 24 13:07:42 EDT 2015
Author: scantor
Date: Mon Aug 24 13:07:41 2015
New Revision: 4328
URL: http://svn.shibboleth.net/view/java-opensaml?rev=4328&view=rev
Log:
Improve logging.
Modified:
trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/client/PopulateClientStorageLoadContext.java
Modified: trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/client/PopulateClientStorageLoadContext.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/client/PopulateClientStorageLoadContext.java?rev=4328&r1=4327&r2=4328&view=diff
==============================================================================
--- trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/client/PopulateClientStorageLoadContext.java (original)
+++ trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/client/PopulateClientStorageLoadContext.java Mon Aug 24 13:07:41 2015
@@ -103,10 +103,13 @@
final ClientStorageLoadContext loadCtx = new ClientStorageLoadContext();
+ final Collection<String> ids = new ArrayList<>();
+
for (final ClientStorageService service : storageServices) {
if (!service.isLoaded()) {
loadCtx.getStorageKeys().add(service.getStorageName());
+ ids.add(service.getId());
}
}
@@ -114,7 +117,7 @@
log.debug("{} No ClientStorageServices require loading, nothing to do", getLogPrefix());
ActionSupport.buildEvent(profileRequestContext, LOAD_NOT_NEEDED);
} else {
- log.debug("{} ClientStorageServices requiring load: {}", getLogPrefix(), loadCtx.getStorageKeys());
+ log.debug("{} ClientStorageServices requiring load: {}", getLogPrefix(), ids);
profileRequestContext.addSubcontext(loadCtx, true);
}
}
More information about the commits
mailing list