setlogfilter - Zcash 4.0.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;'

Made by @karel_3d; license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (github repo)

Note it uses a mainnet node