Permalink
Browse files

Set up detailed logging.

  • Loading branch information...
1 parent aa7980e commit 10768e18b044f2b9f36ae935d5235f3a92970dde @lsolova committed May 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/masukomi/aspirin/core/delivery/DeliveryManager.java
@@ -186,7 +186,7 @@ public void release(QueueInfo qi) {
queueStore.setSendingResult(qi);
if( AspirinInternal.getListenerManager() != null && !qi.hasState(DeliveryState.QUEUED) )
AspirinInternal.getListenerManager().notifyListeners(qi);
- AspirinInternal.getLogger().trace("DeliveryManager.release(): Release item '{}' with state: '{}'.",new Object[]{qi.getMailid(),qi.getState().name()});
+ AspirinInternal.getLogger().trace("DeliveryManager.release(): Release item '{}' with state: '{}' after {} attempts.",new Object[]{qi.getMailid(),qi.getState().name(), qi.getAttemptCount()});
}
public boolean isCompleted(QueueInfo qi) {

0 comments on commit 10768e1

Please sign in to comment.