Skip to content

Commit ad36588

Browse files
rustyrussellShahanaFarooqui
authored andcommitted
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 <[email protected]>
1 parent f054600 commit ad36588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/libplugin.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,7 @@ void plugin_logv(struct plugin *p, enum log_level l,
18381838
l == LOG_DBG ? "debug"
18391839
: l == LOG_INFORM ? "info"
18401840
: l == LOG_UNUSUAL ? "warn"
1841+
: l == LOG_TRACE ? "trace"
18411842
: "error");
18421843
json_out_addv(js->jout, "message", true, fmt, ap);
18431844
json_object_end(js);

0 commit comments

Comments
 (0)