Skip to content

Commit 2be7fa2

Browse files
committed
log levels
1 parent e5dcfe4 commit 2be7fa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tech/stackable/hadoop/StackableGroupMapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public List<String> getGroups(String user) throws IOException {
5555
OpaQuery query = new OpaQuery(new OpaQuery.OpaQueryInput(user));
5656
String body = json.writeValueAsString(query);
5757

58-
LOG.info("Request body [{}]", body);
58+
LOG.debug("Request body [{}]", body);
5959
try {
6060
response = httpClient.send(
6161
HttpRequest.newBuilder(opaUri).header("Content-Type", "application/json")
@@ -70,7 +70,7 @@ public List<String> getGroups(String user) throws IOException {
7070
throw new IOException(opaUri.toString());
7171
}
7272
String responseBody = response.body();
73-
LOG.info("Response body [{}]", responseBody);
73+
LOG.debug("Response body [{}]", responseBody);
7474

7575
OpaQueryResult result = json.readValue(responseBody, OpaQueryResult.class);
7676
LOG.info("Groups for [{}]: [{}]", user, result.groups);

0 commit comments

Comments
 (0)