bitcoind.app
CommandsGuidesContact ↗
Home/Control/logging
Control

logging

Gets and sets the logging configuration.

Parameters

includearrayoptional
Categories to include
excludearrayoptional
Categories to exclude

Returns

objectCurrent logging categories

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"logging","params":[["net","mempool"]]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "net": true,
  "mempool": true,
  "http": false,
  "bench": false
}
← Previous
help
Next →
stop

More Control Commands

getmemoryinfogetrpcinfohelpstopuptime

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗