lighthouse/beacon_node/network/src
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
..
attestation_service Clean up warnings (#2240) 2021-04-12 00:57:43 +00:00
beacon_processor Make less logs for attn with unknown head (#2395) 2021-06-07 02:34:09 +00:00
router Handle early blocks (#2155) 2021-02-24 03:08:52 +00:00
service Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
sync Make less logs for attn with unknown head (#2395) 2021-06-07 02:34:09 +00:00
error.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
lib.rs Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
metrics.rs Handle early blocks (#2155) 2021-02-24 03:08:52 +00:00
nat.rs Update for clippy 1.50 (#2193) 2021-02-15 00:09:12 +00:00
persisted_dht.rs Revert "Network protocol upgrades (#2345)" (#2388) 2021-06-02 01:07:28 +00:00
service.rs Revert "Network protocol upgrades (#2345)" (#2388) 2021-06-02 01:07:28 +00:00
status.rs Move some rpc processing to the beacon_processor (#1936) 2020-11-19 23:33:44 +00:00