libplugin: support LOG_TRACE level logging.
Otherwise it comes out as "**BROKEN**" messages: ``` lightningd-2 2025-05-02T03:51:28.760Z **BROKEN** plugin-chanbackup: Peer storage sent! lightningd-1 2025-05-02T03:51:28.770Z **BROKEN** plugin-chanbackup: Peer storage sent! ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
ShahanaFarooqui
parent
f054600723
commit
ad365886e3
@@ -1838,6 +1838,7 @@ void plugin_logv(struct plugin *p, enum log_level l,
|
||||
l == LOG_DBG ? "debug"
|
||||
: l == LOG_INFORM ? "info"
|
||||
: l == LOG_UNUSUAL ? "warn"
|
||||
: l == LOG_TRACE ? "trace"
|
||||
: "error");
|
||||
json_out_addv(js->jout, "message", true, fmt, ap);
|
||||
json_object_end(js);
|
||||
|
||||
Reference in New Issue
Block a user