Logging status is returned as a bool.
src/bitcoin-cli logging "[\"all\"]" "[\"http\"]"
{
"net": true,
"tor": true,
"mempool": true,
"http": false,
"bench": true,
"zmq": true,
"db": true,
"rpc": true,
"estimatefee": true,
"addrman": true,
"selectcoins": true,
"reindex": true,
"cmpctblock": true,
"rand": true,
"prune": true,
"proxy": true,
"mempoolrej": true,
"libevent": true,
"coindb": true,
"qt": true,
"leveldb": true
}
Also corrects the RPC example so that libevent logging will actually be turned off.