This is an automated email from the ASF dual-hosted git repository.
tmaret pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal-messages.git
The following commit(s) were added to refs/heads/master by this push:
new 48f6dc7 SLING-10227: Improvement in distribution logging to log id
generated for binary reference and not log reference
new 700d00d Merge pull request #6 from amit-jain/SLING-10227
48f6dc7 is described below
commit 48f6dc7d213330137810aa617c10a9f269c1cc2e
Author: amjain <[email protected]>
AuthorDate: Fri Mar 19 17:21:12 2021 +0530
SLING-10227: Improvement in distribution logging to log id generated for
binary reference and not log reference
- Log the binary reference id separately which can be matched with the
package id and should not be removed
- Remove logging the binaryRef prop as it may leak secrets from
implementations
---
.../apache/sling/distribution/journal/messages/PackageMessage.java | 4 ----
1 file changed, 4 deletions(-)
diff --git
a/src/main/java/org/apache/sling/distribution/journal/messages/PackageMessage.java
b/src/main/java/org/apache/sling/distribution/journal/messages/PackageMessage.java
index 1d16cc3..b442a95 100644
---
a/src/main/java/org/apache/sling/distribution/journal/messages/PackageMessage.java
+++
b/src/main/java/org/apache/sling/distribution/journal/messages/PackageMessage.java
@@ -74,10 +74,6 @@ public class PackageMessage {
out.append(", pkgBinary.length=");
out.append(pkgBinary.length);
}
- if (pkgBinaryRef != null) {
- out.append(", pkgBinaryRef=");
- out.append(pkgBinaryRef);
- }
out.append(", paths=");
out.append(abbreviate(paths));
out.append(", deepPaths=");