Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented Feb 24, 2016

Continues "Make logging for validation optional" from #6519.

The idea there was to remove all ERROR logging of rejected transaction, and move it to one message in the class 'mempoolrej' which logs the state message (and debug info). The superfluous ERRORs in the log "terrify" users, see for example issue #5794.

Unfortunately a lot of new logging was introduced in #6871 (RBF) and #7287 (misc refactoring) without taking this into account, for example:

2016-02-24 18:28:45 ERROR: AcceptToMemoryPoolWorker: CheckInputs: ae5ca485da7464f211aa314c37f6c7c5a1807807dc448cba187bce0c214e8853, non-mandatory-script-verify-flag (Non-canonical signature: S value is unnecessarily high) (code 64)

This pull updates that new code.

Continues "Make logging for validation optional" from bitcoin#6519.

The idea there was to remove all ERROR logging of rejected transaction,
and move it to one message in the class 'mempoolrej' which logs the
state message (and debug info). The superfluous ERRORs in the log
"terrify" users, see for example issue bitcoin#5794.

Unfortunately a lot of new logging was introduced in bitcoin#6871 (RBF) and
 bitcoin#7287 (misc refactoring). This pull updates that new code.
@laanwj laanwj force-pushed the 2016_02_mempool_error_spam branch from 4475772 to 8fc81e0 Compare February 24, 2016 18:40
@laanwj laanwj changed the title mempool: Reduce ERROR logging for mempool rejects mempool: Re-remove ERROR logging for mempool rejects Feb 29, 2016
@sipa
Copy link
Member

sipa commented Mar 5, 2016

utACK

@jtimon
Copy link
Contributor

jtimon commented Mar 5, 2016

UtACK

@paveljanik
Copy link
Contributor

ACK

@laanwj laanwj merged commit 8fc81e0 into bitcoin:master Mar 11, 2016
laanwj added a commit that referenced this pull request Mar 11, 2016
8fc81e0 mempool: Reduce ERROR logging for mempool rejects (Wladimir J. van der Laan)
@laanwj laanwj added this to the 0.12.2 milestone Sep 26, 2016
codablock pushed a commit to codablock/dash that referenced this pull request Dec 19, 2017
8fc81e0 mempool: Reduce ERROR logging for mempool rejects (Wladimir J. van der Laan)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants