logging
#
Commandlogging ( <include> <exclude> ) Gets and sets the logging configuration. When called without an argument, returns the list of categories with status that are currently being debug logged or not. When called with arguments, adds or removes categories from debug logging and return the lists above. The arguments are evaluated in order "include", "exclude". If an item is both included and excluded, it will thus end up being excluded. 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, chainlocks, gobject, instantsend, keepass, llmq, llmq-dkg, llmq-sigs, mnpayments, mnsync, coinjoin, spork, netconn In addition, the following are available as category names with special meanings:
- "all", "1" : represent all logging categories.
- "pacprotocol" activates all PAC Protocol-specific categories at once. To deactivate all categories at once you can specify "all" in <exclude>.
- "none", "0" : even if other logging categories are specified, ignore all of them.
#
Argumentsinclude
#
(array of strings, optional)
A json array of categories to add debug logging
exclude
#
(array of strings, optional)
A json array of categories to remove debug logging
#
Examples#
ResultRunning following help command
Will produce following output: