---
name: logging
btcversion: 29.0.0
btcgroup: control
permalink: en/doc/29.0.0/rpc/control/logging/
---

logging ( ["include_category",...] ["exclude_category",...] )

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 