Changed success logs to info

This commit is contained in:
Ziver Koc 2021-08-29 15:14:25 +02:00
parent 12b0fb219e
commit ef10430d54
2 changed files with 16 additions and 16 deletions

View file

@ -161,9 +161,9 @@ public class OAuth2AuthorizationPage implements HttpPage {
return; return;
} }
// Setup the redirect // Prepare the redirect
logger.warning("OAuth2 successful authorization of client: " + clientId); logger.info("OAuth2 successful authorization of client: " + clientId);
redirect(out, url); redirect(out, url);
} }

View file

@ -162,7 +162,7 @@ public class OAuth2TokenPage extends HttpJsonPage {
if (clientId == null) if (clientId == null)
clientId = registry.getClientIdForAuthenticationCode(authorizationCode); clientId = registry.getClientIdForAuthenticationCode(authorizationCode);
logger.warning("OAuth2 successful token provisioning for client: " + clientId); logger.info("OAuth2 successful token provisioning for client: " + clientId);
String token = registry.generateToken(); String token = registry.generateToken();
long timeoutMillis = registry.registerAccessToken(clientId, token); long timeoutMillis = registry.registerAccessToken(clientId, token);