rpc: Document that enabling trace-level logging is unsafe

This commit is contained in:
Jack Grigg 2022-04-08 15:47:13 +00:00
parent a06406d087
commit 70167dd2aa
1 changed files with 3 additions and 0 deletions

View File

@ -255,6 +255,9 @@ UniValue setlogfilter(const UniValue& params, bool fHelp)
+ strprintf("\n %s", LogConfigFilter()) + "\n"
"\nPassing a valid filter here will replace the existing filter.\n"
"Passing an empty string will reset the filter to the default.\n"
"\nNote that enabling trace-level events should always be considered\n"
"unsafe, as they can result in sensitive information like decrypted\n"
"notes and private keys being printed to the log output.\n"
"\nArguments:\n"
"1. newFilterDirectives (string, required) The new log filter.\n"
"\nExamples:\n"