Skip to content
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

Implement the debuglevel JSON-RPC method #2449

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

jrick
Copy link
Member

@jrick jrick commented Dec 16, 2024

This allows debug levels to be made more or less verbose at runtime, without requiring an application restart to change the config.

The semantics and usage is identical to dcrd's debuglevel method.

Closes #1184.

@jrick jrick marked this pull request as draft December 16, 2024 16:20
@jrick

This comment was marked as outdated.

@jrick jrick marked this pull request as ready for review December 16, 2024 16:27
@jrick jrick mentioned this pull request Dec 16, 2024
Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

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

Looks good and confirmed it matches up with dcrd.

I originally was reviewing commit by commit and started writing up a review noting the parsing implementation wasn't handling the comma and all and that it should use the same one as the config parsing, but then I noticed you did that in the next commit.

This allows debug levels to be made more or less verbose at runtime, without
requiring an application restart to change the config.

The semantics and usage is identical to dcrd's debuglevel method.
@jrick jrick merged commit 8886be1 into decred:master Dec 17, 2024
2 checks passed
@jrick jrick deleted the debuglevel branch December 17, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add debuglevel JSON-RPC
2 participants