diff options
| author | John Newbery <[email protected]> | 2017-04-03 13:39:11 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-04-10 17:05:59 -0400 |
| commit | 5255aca3f42e44eb02751299e84e2cf122ed9b49 (patch) | |
| tree | b61c5e177295c186263cde1a866647c5ef25e660 /src/rpc/client.cpp | |
| parent | Set BCLog::LIBEVENT correctly for old libevent versions. (diff) | |
| download | discoin-5255aca3f42e44eb02751299e84e2cf122ed9b49.tar.xz discoin-5255aca3f42e44eb02751299e84e2cf122ed9b49.zip | |
[rpc] Add logging RPC
Adds an RPC to get and set currently active logging categories.
Diffstat (limited to 'src/rpc/client.cpp')
| -rw-r--r-- | src/rpc/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 35bc5d6a8..1f3c4e52a 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -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" }, |