Skip to content

Conversation

sipa
Copy link
Member

@sipa sipa commented Dec 9, 2019

The dynamic env feeding logging is a bit chatty, make it dependent on -debug=rand.

@practicalswift
Copy link
Contributor

ACK 0ccad08 -- less noise is good and diff looks correct

@laanwj
Copy link
Member

laanwj commented Dec 9, 2019

ACK 0ccad08

@promag
Copy link
Contributor

promag commented Dec 9, 2019

ACK 0ccad08.

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0ccad08, was considering to propose this.

Edit: built and tested on running bitcoind, e.g.

    bitcoin-cli logging '["rand"]'
    bitcoin-cli logging '["rand"]' '["all"]'

laanwj added a commit that referenced this pull request Dec 9, 2019
0ccad08 Make env data logging optional (Pieter Wuille)

Pull request description:

  The dynamic env feeding logging is a bit chatty, make it dependent on `-debug=rand`.

ACKs for top commit:
  practicalswift:
    ACK 0ccad08 -- less noise is good and diff looks correct
  laanwj:
    ACK 0ccad08
  promag:
    ACK 0ccad08.
  jonatack:
    ACK 0ccad08, was considering to propose this.

Tree-SHA512: 01d7f9ac134852c2c0d5f66f96ee4395f0ff7a60573e648f3d01054073624042148c8e8b9f69a29c9a41c296e1f4be77c2015a642ee4113a2fd8779b62aa137d
@laanwj laanwj merged commit 0ccad08 into bitcoin:master Dec 9, 2019
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request May 31, 2020
Summary:
```
The dynamic env feeding logging is a bit chatty, make it dependent on
-debug=rand.
```

Backport of core [[bitcoin/bitcoin#17699 | PR17699]].

Test Plan:
Run `bitcoind` and check the log is much more quite.
Run `bitcoind -debug=rand` and check the log has the same output as
before this diff.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6306
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 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.

6 participants