lighthouse/beacon_node
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
..
beacon_chain Add early check for RPC block relevancy (#2289) 2021-06-02 01:07:27 +00:00
client Monitoring service api (#2251) 2021-05-26 05:58:41 +00:00
eth1 Return more detail in Eth1 HTTP errors (#2383) 2021-06-01 06:59:41 +00:00
eth2_libp2p Revert "Network protocol upgrades (#2345)" (#2388) 2021-06-02 01:07:28 +00:00
genesis Add SensitiveUrl to redact user secrets from endpoints (#2326) 2021-05-04 01:59:51 +00:00
http_api Revert "Network protocol upgrades (#2345)" (#2388) 2021-06-02 01:07:28 +00:00
http_metrics Tune GNU malloc (#2299) 2021-05-28 05:59:45 +00:00
network Make less logs for attn with unknown head (#2395) 2021-06-07 02:34:09 +00:00
operation_pool Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
src Fix options for --eth1-endpoints flag (#2392) 2021-06-04 00:10:59 +00:00
store Return a specific error for frozen attn states (#2384) 2021-06-01 06:59:43 +00:00
tests Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
timer Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml v1.4.0-rc.0 (#2379) 2021-06-03 00:13:02 +00:00