Browse Source

plugins: when plugins start, log their PID and path

pull/2938/head
Simon Vrouwe 6 years ago
committed by Rusty Russell
parent
commit
0abbbbb588
  1. 2
      lightningd/plugin.c

2
lightningd/plugin.c

@ -989,6 +989,8 @@ void plugins_init(struct plugins *plugins, const char *dev_plugin_debug)
if (p->pid == -1)
fatal("error starting plugin '%s': %s", p->cmd,
strerror(errno));
else
log_debug(plugins->log, "started(%u) %s", p->pid, p->cmd);
p->buffer = tal_arr(p, char, 64);
p->stop = false;

Loading…
Cancel
Save