Permalink
Browse files

Better logging.

  • Loading branch information...
1 parent 87dec6f commit ae76a12a32ad79738a5d9ccbf1f9dc9340bca989 @lsolova committed Jun 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/org/masukomi/aspirin/store/queue/SqliteQueueStore.java
@@ -150,6 +150,7 @@ public boolean hasBeenRecipientHandled(String mailid, String recipient) {
public void init() {
try {
executeSimpleQuery("UPDATE queueinfos SET dstate="+DeliveryState.QUEUED.getStateId()+" WHERE dstate="+DeliveryState.IN_PROGRESS.getStateId());
+ AspirinInternal.getLogger().info("SQLite QueueStore initialized.");
} catch (SQLException e) {
AspirinInternal.getLogger().error("SQLite QueueStore initialization failed.",e);
}

0 comments on commit ae76a12

Please sign in to comment.