setlogfilter - Zcash 4.2.0 RPC

setlogfilter "directives"

Sets the filter to be used for selecting events to log.

A filter is a comma-separated list of directives.
The syntax for each directive is:


The default filter, derived from the -debug=target flags, is:


Passing a valid filter here will replace the existing filter.
Passing an empty string will reset the filter to the default.

1. newFilterDirectives (string, required) The new log filter.

> zcash-cli setlogfilter "main=info,rpc=info"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setlogfilter", "params": ["main=info,rpc=info"] }' -H 'content-type: text/plain;'

Maintained by @_garethtdavies; license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet node