diff --git a/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java b/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java index 58d599f8ba4..52ded14a481 100644 --- a/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java +++ b/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java @@ -122,7 +122,7 @@ public Response patchUser(@PathParam(ApiConstants.INUM) @NotNull String inum, // patch user existingUser = userSrv.patchUser(inum, userPatchRequest); - logger.error("Patched user:{}", existingUser); + logger.debug("Patched user:{}", existingUser); return Response.ok(existingUser).build(); } diff --git a/jans-config-api/server/src/main/java/io/jans/configapi/util/AuthUtil.java b/jans-config-api/server/src/main/java/io/jans/configapi/util/AuthUtil.java index 7046d315e38..52e84009351 100644 --- a/jans-config-api/server/src/main/java/io/jans/configapi/util/AuthUtil.java +++ b/jans-config-api/server/src/main/java/io/jans/configapi/util/AuthUtil.java @@ -355,7 +355,7 @@ public boolean isEqualCollection(List list1, List list2) { } public boolean doesObjectContainField(Object object, String fieldName) { - log.error("Check if object:{} contain fieldName:{} ", object, fieldName); + log.debug("Check if object:{} contain fieldName:{} ", object, fieldName); if(object == null || StringUtils.isEmpty(fieldName)) { return false; } diff --git a/jans-config-api/shared/src/main/java/io/jans/configapi/core/util/Jackson.java b/jans-config-api/shared/src/main/java/io/jans/configapi/core/util/Jackson.java index fec9bde0e49..89fbc36e898 100644 --- a/jans-config-api/shared/src/main/java/io/jans/configapi/core/util/Jackson.java +++ b/jans-config-api/shared/src/main/java/io/jans/configapi/core/util/Jackson.java @@ -50,7 +50,7 @@ public static String getElement(String jsonString, String fieldName) throws Json } public static T applyPatch(String patchAsString, T obj) throws JsonPatchException, IOException { - LOG.error("\n\n\n Jackson::applyPatch() - patchAsString:{}, obj:{}", patchAsString, obj ); + LOG.debug("Patch details - patchAsString:{}, obj:{}", patchAsString, obj ); JsonPatch jsonPatch = JsonPatch.fromJson(Jackson.asJsonNode(patchAsString)); return applyPatch(jsonPatch, obj); }