You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cs...@apache.org on 2020/03/17 11:35:01 UTC

[sling-org-apache-sling-distribution-journal] branch master updated: SLING-9050 - Fix log message

This is an automated email from the ASF dual-hosted git repository.

cschneider pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git


The following commit(s) were added to refs/heads/master by this push:
     new 7716599  SLING-9050 - Fix log message
7716599 is described below

commit 77165994c70feea65134ec48726891b7b76572c4
Author: Christian Schneider <cs...@adobe.com>
AuthorDate: Tue Mar 17 12:34:52 2020 +0100

    SLING-9050 - Fix log message
---
 .../distribution/journal/impl/subscriber/DistributionSubscriber.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java
index 934cacf..74fc5e2 100644
--- a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java
+++ b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java
@@ -313,7 +313,7 @@ public class DistributionSubscriber implements DistributionAgent {
             try {
                 bookKeeper.skipPackage(info.getOffset());
             } catch (PersistenceException | LoginException e) {
-                LOG.info("Error marking message at offset {} as skipped", e);
+                LOG.info("Error marking message at offset {} as skipped", info.getOffset(), e);
             }
         }
     }