updated logs

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@182169 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-10-29 10:00:44 +00:00
parent 79aa6ab336
commit d7259a788f
1 changed files with 6 additions and 4 deletions

View File

@ -157,7 +157,7 @@ public class NotificationsProducerToStorageHub {
@Override @Override
public void run() { public void run() {
logger.trace("Send notifies shared folder was renamed is running..."); logger.debug("Send notifies shared folder was renamed is running...");
if(NotificationStorageHubUtil.checkIsRootSharedFolder(folderItem.getId(), idRootSharedFolder)){ if(NotificationStorageHubUtil.checkIsRootSharedFolder(folderItem.getId(), idRootSharedFolder)){
logger.info("Notification not sent because the event is on root shared folder"); logger.info("Notification not sent because the event is on root shared folder");
@ -204,7 +204,7 @@ public class NotificationsProducerToStorageHub {
@Override @Override
public void run() { public void run() {
logger.trace("Send notifies shared item was updated is running..."); logger.debug("Send notifies shared item was updated is running...");
for (InfoContactModel infoContactModel : listSharedContact) { for (InfoContactModel infoContactModel : listSharedContact) {
try{ try{
@ -245,7 +245,8 @@ public class NotificationsProducerToStorageHub {
@Override @Override
public void run() { public void run() {
logger.trace("Sending notification removed item in shared folder is running..."); logger.debug("Sending notification removed item in shared folder is running...");
if(itemName==null || itemName.isEmpty()){ if(itemName==null || itemName.isEmpty()){
logger.trace("Notification isn't sent - itemName is null or empty"); logger.trace("Notification isn't sent - itemName is null or empty");
return; return;
@ -293,7 +294,8 @@ public class NotificationsProducerToStorageHub {
@Override @Override
public void run() { public void run() {
// printContacts(listContacts); // printContacts(listContacts);
logger.trace("Sending notification shared folder deleted is running..."); logger.debug("Sending notification shared folder deleted is running...");
for (InfoContactModel infoContactModel : listContacts) { for (InfoContactModel infoContactModel : listContacts) {
try{ try{