commit | dc8e24e5cdd45c72865d14b70e0977cd1f43e3af | [log] [tgz] |
---|---|---|
author | tmaret <tmaret@adobe.com> | Thu Nov 14 17:14:22 2019 +0100 |
committer | tmaret <tmaret@adobe.com> | Thu Nov 14 17:14:22 2019 +0100 |
tree | 2d8e2622a77788d89efd04671d9229a51e621bf1 | |
parent | 0b977dbd4782291c14f4173e76ef1451568100a2 [diff] |
SLING-8846 - Successfully handling clear command should be logged
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 7f18cb4..fcefc7f 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
@@ -732,6 +732,7 @@ // as the max between the provided offset // and the current clearOffset clearOffset.accumulateAndGet(offset, Math::max); + LOG.info("Handled clear command for offset {}", offset); } else { LOG.warn("Unexpected ClearCommand for non editable subscriber"); }