james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [21/34] james-project git commit: JAMES-2085 Increasing log level when JMS cleanup fails
Date Wed, 05 Jul 2017 13:59:28 GMT
JAMES-2085 Increasing log level when JMS cleanup fails


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/0d929110
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/0d929110
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/0d929110

Branch: refs/heads/master
Commit: 0d92911065dda4f583f40757e341143b088d1824
Parents: ea40433
Author: benwa <btellier@linagora.com>
Authored: Mon Jul 3 16:56:38 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Jul 5 17:13:48 2017 +0700

----------------------------------------------------------------------
 .../org/apache/james/queue/activemq/ActiveMQMailQueueItem.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/0d929110/server/queue/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueueItem.java
----------------------------------------------------------------------
diff --git a/server/queue/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueueItem.java
b/server/queue/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueueItem.java
index 9890f12..61a2aa1 100644
--- a/server/queue/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueueItem.java
+++ b/server/queue/queue-activemq/src/main/java/org/apache/james/queue/activemq/ActiveMQMailQueueItem.java
@@ -62,13 +62,12 @@ public class ActiveMQMailQueueItem extends JMSMailQueueItem implements
ActiveMQS
                 try {
                     ((ActiveMQBlobMessage) message).deleteFile();
                 } catch (IOException e) {
-                    logger.info("Unable to delete blob message file for mail " + getMail().getName());
+                    logger.warn("Unable to delete blob message file for mail {}", getMail().getName());
                 } catch (JMSException e) {
-                    logger.info("Unable to delete blob message file for mail " + getMail().getName());
+                    logger.warn("Unable to delete blob message file for mail {}", getMail().getName());
                 }
             }
             getMail().removeAttribute(JAMES_REUSE_BLOB_URL);
-
         }
 
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message