Skip to content

Commit

Permalink
Set up detailed logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolova committed May 15, 2011
1 parent aa7980e commit 10768e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 10768e1

Please sign in to comment.