setlogfilter - Zcash 5.10.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.

Note that enabling trace-level events should always be considered
unsafe, as they can result in sensitive information like decrypted
notes and private keys being printed to the log output.

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; modified by: mdr0id;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 zcash node