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 2019/12/30 10:03:47 UTC
[sling-org-apache-sling-distribution-journal] branch SLING-8932-2
updated: SLING-8932 - Fix error in log string
This is an automated email from the ASF dual-hosted git repository.
cschneider pushed a commit to branch SLING-8932-2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git
The following commit(s) were added to refs/heads/SLING-8932-2 by this push:
new fa8b343 SLING-8932 - Fix error in log string
fa8b343 is described below
commit fa8b3432897ddf0299768aaf076496afa90a6488
Author: Christian Schneider <cs...@adobe.com>
AuthorDate: Mon Dec 30 11:03:34 2019 +0100
SLING-8932 - Fix error in log string
---
.../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 48ca591..1b91fcb 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
@@ -321,7 +321,7 @@ public class DistributionSubscriber implements DistributionAgent {
return false;
}
if (!pkgType.equals(message.getPkgType())) {
- LOG.warn("Skipping package with type %s", message.getPkgType());
+ LOG.warn("Skipping package with type {}", message.getPkgType());
return false;
}
return true;