Skip to content

Commit

Permalink
[AMQ-8354] Update log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaShupletsov committed Oct 9, 2024
1 parent bb01264 commit d50696e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ReplicaMessageRecoveryListener implements MessageRecoveryListener {
@Override
public boolean recoverMessage(Message message) throws Exception {
if (++processedCount % 10000 == 0) {
logger.info("Progress: " + processedCount);
logger.info("Resynchronization progress: " + processedCount);
}

if (restoreMessageId != null && !foundMessage) {
Expand All @@ -88,7 +88,7 @@ public boolean recoverMessage(Message message) throws Exception {
}
} catch (Exception e) {
broker.rollbackTransaction(connectionContext, tid);
logger.error("Failed", e);
logger.error("Failed to process next message", e);
throw e;
}
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private void sendResetMessage(ConnectionContext connectionContext) throws Except
broker.commitTransaction(connectionContext, tid, true);
} catch (Exception e) {
broker.rollbackTransaction(connectionContext, tid);
logger.error("Failed", e);
logger.error("Failed to send reset message", e);
throw e;
}
}
Expand Down

0 comments on commit d50696e

Please sign in to comment.