From 8de71bee83e3c55d0dc8ce596eb0f9527ec9c108 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Sat, 19 Aug 2023 13:17:29 +0200 Subject: [PATCH] allow filtering block processor logs by topic (#5321) Add separate log topic for `block_processor` messages. Topic named similar to the other `_processor` modules: - `eth2_processor` --> `gossip_eth2` - `light_client_processor` --> `gossip_lc` - `optimistic_processor` --> `gossip_opt` --- beacon_chain/gossip_processing/block_processor.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beacon_chain/gossip_processing/block_processor.nim b/beacon_chain/gossip_processing/block_processor.nim index 2743fa419..eb7a2913a 100644 --- a/beacon_chain/gossip_processing/block_processor.nim +++ b/beacon_chain/gossip_processing/block_processor.nim @@ -38,6 +38,8 @@ from ../spec/state_transition_block import validate_blobs export sszdump, signatures_batch +logScope: topics = "gossip_blocks" + # Block Processor # ------------------------------------------------------------------------------ # The block processor moves blocks from "Incoming" to "Consensus verified"