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:

    target[span{field=value}]=level

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

    error,main=info

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

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

Examples:
> 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;' http://127.0.0.1:8232/


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