From 982d586eb25616d557fca8e06ec0ee9004f40bf0 Mon Sep 17 00:00:00 2001 From: Hellblazer Date: Sat, 25 May 2024 17:26:52 -0700 Subject: [PATCH] squelch publishing logging on Producer end --- .../java/com/salesforce/apollo/choam/Producer.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/choam/src/main/java/com/salesforce/apollo/choam/Producer.java b/choam/src/main/java/com/salesforce/apollo/choam/Producer.java index 3728d7b22..9d7c95f75 100644 --- a/choam/src/main/java/com/salesforce/apollo/choam/Producer.java +++ b/choam/src/main/java/com/salesforce/apollo/choam/Producer.java @@ -314,13 +314,13 @@ private void publish(PendingBlock p, boolean force) { assert p.witnesses.size() >= params().majority() : "Publishing non majority block"; var publish = p.published.compareAndSet(false, true); if (!publish) { - log.warn("Already published: {} hash: {} height: {} witnesses: {} on: {}", p.block.block.getBodyCase(), - p.block.hash, p.block.height(), p.witnesses.values().size(), params().member().getId()); + log.trace("Already published: {} hash: {} height: {} witnesses: {} on: {}", p.block.block.getBodyCase(), + p.block.hash, p.block.height(), p.witnesses.values().size(), params().member().getId()); return; } - log.warn("Publishing {}pending: {} hash: {} height: {} witnesses: {} on: {}", force ? "(forced) " : " ", - p.block.block.getBodyCase(), p.block.hash, p.block.height(), p.witnesses.values().size(), - params().member().getId()); + log.trace("Publishing {}pending: {} hash: {} height: {} witnesses: {} on: {}", force ? "(forced) " : "", + p.block.block.getBodyCase(), p.block.hash, p.block.height(), p.witnesses.values().size(), + params().member().getId()); final var cb = CertifiedBlock.newBuilder() .setBlock(p.block.block) .addAllCertifications(