Merge pull request #416 from mposolda/master

Fix logging typo when importing roles
This commit is contained in:
Stian Thorgersen 2014-05-23 09:14:10 +01:00
commit 07d2bf988a

View file

@ -151,7 +151,7 @@ public class ModelImporter {
} }
} }
logger.infof("%d roles imported: ", roles); logger.infof("%d roles imported: ", roles.size());
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("Imported roles: " + roles); logger.debug("Imported roles: " + roles);
} }
@ -225,7 +225,7 @@ public class ModelImporter {
addScopes(realm, client, clientEntity); addScopes(realm, client, clientEntity);
} }
logger.infof("OAuth clients imported: " + clients); logger.info("OAuth clients imported: " + clients);
} }
protected ApplicationModel findApplicationById(KeycloakSession keycloakSession, String applicationId) { protected ApplicationModel findApplicationById(KeycloakSession keycloakSession, String applicationId) {