mirror of
https://github.com/valitydev/wachter.git
synced 2024-11-06 08:45:19 +00:00
Add logs
This commit is contained in:
parent
9b4064375f
commit
0d2345eed7
@ -29,7 +29,7 @@ public class WachterClient {
|
|||||||
log.info("Send request to url {}", url);
|
log.info("Send request to url {}", url);
|
||||||
HttpResponse response = httpclient.execute(httppost);
|
HttpResponse response = httpclient.execute(httppost);
|
||||||
HttpEntity httpEntity = response.getEntity();
|
HttpEntity httpEntity = response.getEntity();
|
||||||
log.info("Get response with entity: {}", httpEntity);
|
log.info("Get response with entity: {} and statusLine {}", httpEntity, response.getStatusLine());
|
||||||
return EntityUtils.toByteArray(httpEntity);
|
return EntityUtils.toByteArray(httpEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user