[renault] Small logging improvements. (#15368)

* [renault] HTTP responses to debug not warn.
* [renault] fix logging typo.

---------

Signed-off-by: Doug Culnane <doug@culnane.net>
This commit is contained in:
Doug Culnane 2023-08-04 11:34:52 +02:00 committed by GitHub
parent 0d9cebe513
commit 7d2d86f244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@ public class Car {
}
}
} catch (IllegalStateException | ClassCastException e) {
logger.warn("Error {} parsing Location: {}", e.getMessage(), responseJson);
logger.warn("Error {} parsing Lock Status: {}", e.getMessage(), responseJson);
}
}

View File

@ -331,8 +331,8 @@ public class MyRenaultHttpSession {
response.getStatus(), response.getReason(), response.getContentAsString());
}
} else {
logger.warn("Kamereon Request: {} Response: [{}] {}\n{}", request.getURI().toString(), response.getStatus(),
response.getReason(), response.getContentAsString());
logger.debug("Kamereon Request: {} Response: [{}] {}\n{}", request.getURI().toString(),
response.getStatus(), response.getReason(), response.getContentAsString());
}
}