mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
[oauthclient] Reduce log level to debug for token refresh (#1332)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
This commit is contained in:
parent
08da8de5cf
commit
8121fec350
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user