[rpc] Add logging RPC

Adds an RPC to get and set currently active logging categories.
This commit is contained in:
John Newbery
2017-04-03 13:39:11 -04:00
parent 4d9950d3bc
commit 5255aca3f4
4 changed files with 83 additions and 3 deletions

View File

@@ -113,6 +113,8 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "getmempoolancestors", 1, "verbose" },
{ "getmempooldescendants", 1, "verbose" },
{ "bumpfee", 1, "options" },
{ "logging", 0, "include" },
{ "logging", 1, "exclude" },
// Echo with conversion (For testing only)
{ "echojson", 0, "arg0" },
{ "echojson", 1, "arg1" },