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

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.

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; 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