RavenDoc 2.5.1

raven-cli help logging

logging [include,...]
Gets and sets the logging configuration.
When called without an argument, returns the list of categories that are currently being debug logged.
When called with arguments, adds or removes categories from debug logging.
The valid logging categories are: net, tor, mempool, http, bench, zmq, db, rpc, estimatefee, addrman, selectcoins, reindex, cmpctblock, rand, prune, proxy, mempoolrej, libevent, coindb, qt, leveldb
libevent logging is configured on startup and cannot be modified by this RPC during runtime.Arguments:
1. "include" (array of strings) add debug logging for these categories.
2. "exclude" (array of strings) remove debug logging for these categories.
Result: (string): a list of the logging categories that are active.
Examples:
> raven-cli logging "[\"all\"]" "[\"http\"]"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "logging", "params": [["all"], "[libevent]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/

By JonPizza! RavenVotes!