Skip to content

[Version-unspecific] Debug rather than Error "fail to get TxInItem" logs

[Version-unspecific]

Based on this Discord discussion on cluttered error logs.

**Further considerations:**
|
This is for the moment specifically for "fail to get TxInItem" logs from UTXO-chain getTxIn errors,
but are there any equivalent cluttering error logs (from block scanning) for non-UTXO chains as well?
|
There were two changes per chain; one was to change logger.Error().Err(err) to logger.Debug().Err(err),
but the other was to change logger.Err(err) to logger.Debug().Err(err).
Are these both valid changes, and how is a log with no Error() or Debug() recorded in observed logs?

Edited by Multipartite

Merge request reports