From 97e05f0d19e56830ab2ab0773d1e2cb4051d6961 Mon Sep 17 00:00:00 2001 From: Yulong Wu Date: Fri, 6 Dec 2024 17:49:11 +0000 Subject: [PATCH] Revert "Add logs" This reverts commit 4d44db00cb0e220ae8235b77dc48050204d371d9. --- core/src/main/java/com/radixdlt/rev2/REv2StateComputer.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/main/java/com/radixdlt/rev2/REv2StateComputer.java b/core/src/main/java/com/radixdlt/rev2/REv2StateComputer.java index f1aaf96368..de329ca119 100644 --- a/core/src/main/java/com/radixdlt/rev2/REv2StateComputer.java +++ b/core/src/main/java/com/radixdlt/rev2/REv2StateComputer.java @@ -154,7 +154,6 @@ public void addToMempool(MempoolAdd mempoolAdd, NodeId origin) { .forEach( transaction -> { try { - log.info("Attempt to add transaction to mempool: origin = " + origin); mempool.addTransaction(transaction); // Please note that a `MempoolAddSuccess` event is only dispatched when the above // call does not throw. This is deliberate: we do not want to propagate the @@ -163,13 +162,11 @@ public void addToMempool(MempoolAdd mempoolAdd, NodeId origin) { var success = new MempoolAddSuccess( RawNotarizedTransaction.create(transaction.getPayload()), origin); - log.info("Add transaction success"); mempoolAddSuccessEventDispatcher.dispatch(success); } catch (MempoolDuplicateException ignored) { - log.info("Duplicate transaction"); // Ignore these specific subclass of the `MempoolRejectedException` logged below } catch (MempoolRejectedException e) { - log.info("Transaction rejected: " + e.getMessage()); + log.debug(e); } }); }