Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Sep 27, 2021

Follow up to commit d8b4b30

Before this patch, the log might be corrupted by other threads logging
at the same time. For example, another RPC thread:

[httpworker.1] [default wallet] keypool reserve 1296
[httpworker.1] SelectCoins() best subset: Received a POST request for / from 127.0.0.1:53732
[httpworker.3] ThreadRPCServer method=getnetworkinfo user=__cookie__
[httpworker.1] 0.78125 0.1953125 0.02441406 0.00610351 0.00305175 0.00152587 total 1.01025417
@laanwj
Copy link
Member

laanwj commented Sep 27, 2021

Code review ACK fa00654e3783d5c2d93ddeb0b06f26fe2ef885d8
re-ACK 2222c04

MarcoFalke added 3 commits September 29, 2021 18:46
Replace the outdated function name with words from the English language.
Logging the function name can be toggled with -logsourcelocations.
@practicalswift
Copy link
Contributor

cr ACK 2222c04

Thanks for removing the use of std::string_view (context): FWIW that changed my cost-benefit analysis of this PR to transition from benefit < cost to benefit > cost :)

@laanwj laanwj merged commit 1cf7fb9 into bitcoin:master Sep 30, 2021
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Sep 30, 2021
…le lines in the log file

2222c04 log: Adjust coin selection log string (MarcoFalke)
fa6c1e8 test: Fix typos in tests (MarcoFalke)
faeae29 log: Avoid broken DEBUG_LOCKORDER log (MarcoFalke)
faffaa8 log: Avoid broken SELECTCOINS log (MarcoFalke)

Pull request description:

  Follow up to commit d8b4b30

ACKs for top commit:
  laanwj:
    re-ACK 2222c04
  practicalswift:
    cr ACK 2222c04

Tree-SHA512: e0daf76815a1b7c4898ceffedeaf7ede093223abf709874f9a0d78c8e41551c14e8b56d055c8fdf06ec698df64e67dfc168bbd8716131b23648d1d1294fa6636
@maflcko maflcko deleted the 2109-logCont branch October 1, 2021 07:47
@bitcoin bitcoin locked and limited conversation to collaborators Oct 30, 2022
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.

4 participants