aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-07-26 11:23:47 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-07-26 11:23:47 +0200
commita5541ab96512cb78d493516ecf0dfb94a6544f52 (patch)
treecb928932446f58ce97341faa7f78b062252733c2 /pdf-as-lib/src/main
parente5f2601e931594572f88bb402343e39023dab939 (diff)
downloadpdf-as-4-a5541ab96512cb78d493516ecf0dfb94a6544f52.tar.gz
pdf-as-4-a5541ab96512cb78d493516ecf0dfb94a6544f52.tar.bz2
pdf-as-4-a5541ab96512cb78d493516ecf0dfb94a6544f52.zip
add logger on trace level for request/response debugging
Diffstat (limited to 'pdf-as-lib/src/main')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/sl20/SL20Connector.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl20/SL20Connector.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl20/SL20Connector.java
index a82771bd..3088a564 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/sl20/SL20Connector.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl20/SL20Connector.java
@@ -62,7 +62,9 @@ public class SL20Connector extends BaseSLConnector {
HttpResponse httpResp = httpClient.execute(httpReq);
log.debug("Response from VDA received ");
- return SL20JSONExtractorUtils.getSL20ContainerFromResponse(httpResp);
+ JsonObject sl20Resp = SL20JSONExtractorUtils.getSL20ContainerFromResponse(httpResp);
+ log.trace("SL20 command: " + sl20Resp.toString());
+ return sl20Resp;
} catch (URISyntaxException | IOException e) {
log.warn("Can NOT build SL20 http requst. Reason:" + e.getMessage(), e);