From 60e025cb5a698aaa80947d83659da0a633dc9096 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 2 Feb 2023 20:23:51 +0100 Subject: [PATCH] fixed bug --- .../portal/social/networking/ws/methods/v2/Comments.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java b/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java index 212d970..7af0089 100644 --- a/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java +++ b/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Comments.java @@ -235,7 +235,7 @@ public class Comments { try { result = CassandraConnection.getInstance().getDatabookStore().addComment(theComment); - logger.debug("Added comment? " + comment.toString() + " Result is " +result); + logger.info("Added comment? " + comment.toString() + " Result is " +result); } catch(Exception e){ e.printStackTrace(); responseBean.setMessage("Could not reach the DB to write the comment, something went wrong"); @@ -245,7 +245,7 @@ public class Comments { } if(result){ - logger.debug("Comment correctly written by user " + username); + logger.info("Comment correctly written by user " + username); responseBean.setResult(result); responseBean.setSuccess(true); return Response.status(status).entity(responseBean).build();