8000 [Upstream] [RPC] Add logging RPC by lyricidal · Pull Request #125 · PRCYCoin/PRCYCoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Upstream] [RPC] Add logging RPC #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 29, 2021
Merged

[Upstream] [RPC] Add logging RPC #125

merged 4 commits into from
Sep 29, 2021

Conversation

lyricidal
Copy link

Implemented on top of:

Backports bitcoin#10150

Adds an RPC to get/set active logging categories.
First commit allows all categories except libevent to be reconfigured during runtime.
Second commit modifies InitHTTPServer() to allow leveldb logging to be reconfigured during runtime.

from PIVX-Project/PIVX#1451

Note: The commit for release notes is left out. We will create a properly updated one at release time.

Prevents stomping on debug logs in datadirs that are locked by other instances and lost parameter interaction messages that can get wiped by ShrinkDebugFile().

The log is now opened explicitly and all emitted messages are buffered until this open occurs.  The version message and log cut have also been moved to the earliest possible sensible location.

backports bitcoin/bitcoin@27d7605
@lyricidal lyricidal added the Upstream Upstream backports/fixes label Sep 28, 2021
@lyricidal lyricidal requested review from lopeed and anprdev September 28, 2021 22:02
@lopeed lopeed merged commit 5f5f3e0 into develop Sep 29, 2021
@lopeed lopeed deleted the upstream-logging_rpc branch September 29, 2021 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upstream Upstream backports/fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0