mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
common: only log io if they set --debug-subdaemon-io=<daemon> or with SIGUSR1.
Otherwise we just log the type of msg. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -277,6 +277,9 @@ static void config_register_opts(struct lightningd *ld)
|
||||
opt_set_bool_arg, opt_show_bool,
|
||||
&deprecated_apis,
|
||||
"Enable deprecated options, JSONRPC commands, fields, etc.");
|
||||
opt_register_arg("--debug-subdaemon-io",
|
||||
opt_set_charp, NULL, &ld->debug_subdaemon_io,
|
||||
"Enable full peer IO logging in subdaemons ending in this string (can also send SIGUSR1 to toggle)");
|
||||
}
|
||||
|
||||
#if DEVELOPER
|
||||
|
||||
Reference in New Issue
Block a user