KEYCLOAK-3054: Use string format for log message

Need to use log.debugf(..) to correctly resolve the %s placeholder.
This commit is contained in:
Thomas Darimont 2016-06-07 21:56:04 +02:00
parent b6a76b1267
commit a9f461bfd1

View file

@ -100,7 +100,7 @@ public class RealmsResource {
LoginProtocolFactory factory = (LoginProtocolFactory)session.getKeycloakSessionFactory().getProviderFactory(LoginProtocol.class, protocol);
if(factory == null){
logger.debugv("protocol %s not found", protocol);
logger.debugf("protocol %s not found", protocol);
throw new NotFoundException("Protocol not found");
}