mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +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:
@@ -67,6 +67,7 @@ static struct lightningd *new_lightningd(const tal_t *ctx,
|
||||
ld->portnum = DEFAULT_PORT;
|
||||
timers_init(&ld->timers, time_mono());
|
||||
ld->topology = new_topology(ld, ld->log);
|
||||
ld->debug_subdaemon_io = NULL;
|
||||
|
||||
return ld;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user