Skip to content

Commit 998c304

Browse files
author
MarcoFalke
committed
Merge #11626: rpc: Make logging RPC public
cabff75 rpc: Make logging RPC public (Wladimir J. van der Laan) Pull request description: This started out as a developer hack but now it's useful enough for general use. Unhide the call by moving it to `control` category. This makes it documented in `help`. Tree-SHA512: f45fa378558b552d4e2a110bf85100b0eaaa6180bb5f62cb54a251f66026d4625b670c69d85c281eebbf4b56b80b65618c51a5a593b8f9d0a04b31e95adc91f4
2 parents 89cc4f9 + cabff75 commit 998c304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ static const CRPCCommand commands[] =
608608
{ // category name actor (function) argNames
609609
// --------------------- ------------------------ ----------------------- ----------
610610
{ "control", "getmemoryinfo", &getmemoryinfo, {"mode"} },
611+
{ "control", "logging", &logging, {"include", "exclude"}},
611612
{ "util", "validateaddress", &validateaddress, {"address"} }, /* uses wallet if enabled */
612613
{ "util", "createmultisig", &createmultisig, {"nrequired","keys"} },
613614
{ "util", "verifymessage", &verifymessage, {"address","signature","message"} },
@@ -617,7 +618,6 @@ static const CRPCCommand commands[] =
617618
{ "hidden", "setmocktime", &setmocktime, {"timestamp"}},
618619
{ "hidden", "echo", &echo, {"arg0","arg1","arg2","arg3","arg4","arg5","arg6","arg7","arg8","arg9"}},
619620
{ "hidden", "echojson", &echo, {"arg0","arg1","arg2","arg3","arg4","arg5","arg6","arg7","arg8","arg9"}},
620-
{ "hidden", "logging", &logging, {"include", "exclude"}},
621621
};
622622

623623
void RegisterMiscRPCCommands(CRPCTable &t)

0 commit comments

Comments
 (0)