lighthouse/beacon_node/network/src/beacon_processor
Paul Hauner 93100f221f Make less logs for attn with unknown head (#2395)
## Issue Addressed

NA

## Proposed Changes

I am starting to see a lot of slog-async overflows (i.e., too many logs) on Prater whenever we see attestations for an unknown block. Since these logs are identical (except for peer id) and we expose volume/count of these errors via `metrics::GOSSIP_ATTESTATION_ERRORS_PER_TYPE`, I took the following actions to remove them from `DEBUG` logs:

- Push the "Attestation for unknown block" log to trace.
- Add a debug log in `search_for_block`. In effect, this should serve as a de-duped version of the previous, downgraded log.

## Additional Info

TBC
2021-06-07 02:34:09 +00:00
..
worker Make less logs for attn with unknown head (#2395) 2021-06-07 02:34:09 +00:00
block_delay_queue.rs Handle early blocks (#2155) 2021-02-24 03:08:52 +00:00
mod.rs Handle early blocks (#2155) 2021-02-24 03:08:52 +00:00
tests.rs Revert "Network protocol upgrades (#2345)" (#2388) 2021-06-02 01:07:28 +00:00