diff options
| author | Keith Wall <kwall@apache.org> | 2014-08-08 15:43:43 +0000 |
|---|---|---|
| committer | Keith Wall <kwall@apache.org> | 2014-08-08 15:43:43 +0000 |
| commit | 60d10e1865481944d8560bfbeea7fdd474ec8fff (patch) | |
| tree | 0a2b70d4e70ab6264eb467a64dcffe855009843a /qpid/java/bdbstore/src/main | |
| parent | 9d67cc147702172afbe8c93b88311cd2e5eb6bab (diff) | |
| download | qpid-python-60d10e1865481944d8560bfbeea7fdd474ec8fff.tar.gz | |
QPID-5979: Derby/JDBC logs unnecessary "message not found" at WARN on rollback.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616806 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/bdbstore/src/main')
| -rw-r--r-- | qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/AbstractBDBMessageStore.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/AbstractBDBMessageStore.java b/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/AbstractBDBMessageStore.java index 338882e6df..835846a5ec 100644 --- a/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/AbstractBDBMessageStore.java +++ b/qpid/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/AbstractBDBMessageStore.java @@ -388,10 +388,11 @@ public abstract class AbstractBDBMessageStore implements MessageStore OperationStatus status = getMessageMetaDataDb().delete(tx, key); if (status == OperationStatus.NOTFOUND) { - getLogger().info( - "Message not found (attempt to remove failed - probably application initiated rollback) " - + - messageId); + if (getLogger().isDebugEnabled()) + { + getLogger().debug("Message id " + messageId + + " not found (attempt to remove failed - probably application initiated rollback)"); + } } if (getLogger().isDebugEnabled()) @@ -426,7 +427,7 @@ public abstract class AbstractBDBMessageStore implements MessageStore catch(DatabaseException e2) { getLogger().warn( - "Unable to abort transaction after LockConflictExcption on removal of message with id " + "Unable to abort transaction after LockConflictException on removal of message with id " + messageId, e2); // rethrow the original log conflict exception, the secondary exception should already have |
