From 8121fec350358b7653617fb81ec7b16a9038b7df Mon Sep 17 00:00:00 2001 From: Mark Hilbush Date: Fri, 17 Jan 2020 16:44:38 -0500 Subject: [PATCH] [oauthclient] Reduce log level to debug for token refresh (#1332) Signed-off-by: Mark Hilbush --- .../openhab/core/auth/oauth2client/internal/OAuthConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.core.auth.oauth2client/src/main/java/org/openhab/core/auth/oauth2client/internal/OAuthConnector.java b/bundles/org.openhab.core.auth.oauth2client/src/main/java/org/openhab/core/auth/oauth2client/internal/OAuthConnector.java index 28b1301e8..b5186d5ef 100644 --- a/bundles/org.openhab.core.auth.oauth2client/src/main/java/org/openhab/core/auth/oauth2client/internal/OAuthConnector.java +++ b/bundles/org.openhab.core.auth.oauth2client/src/main/java/org/openhab/core/auth/oauth2client/internal/OAuthConnector.java @@ -307,7 +307,7 @@ public class OAuthConnector { if (statusCode == HttpStatus.OK_200) { AccessTokenResponse jsonResponse = gson.fromJson(content, AccessTokenResponse.class); jsonResponse.setCreatedOn(LocalDateTime.now()); // this is not supplied by the response - logger.info("grant type {} to URL {} success", grantType, request.getURI()); + logger.debug("grant type {} to URL {} success", grantType, request.getURI()); return jsonResponse; } else if (statusCode == HttpStatus.BAD_REQUEST_400) { OAuthResponseException errorResponse = gson.fromJson(content, OAuthResponseException.class);