mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[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:
parent
0d9cebe513
commit
7d2d86f244
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user