Browse Source
From #clightning: (11:24:10) andytoshi: hiya, i'm trying to set up a new lightningd node, and when i run lightningd --network=bitcoin --log-level=debug --daemon (11:24:17) andytoshi: i get errors of the form fetchinvoice: Malformed JSON reply '2021-01-25T00:51:16.655Z DEBUG plugin-offers: disabled itself at init: offers not enabled in config (11:24:43) andytoshi: there are a couple variants of this, but always some form of "something: failed to parse <a log line> as json" Indeed, we close stdout, and it ends up being reused for some plugin. But the real problem is that we log to stdout by default, which doesn't make sense. If they really want to discard logs, they can use --log-file=/dev/null. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: JSON failures when --daemon is used without --log-file.master
Rusty Russell
4 years ago
3 changed files with 8 additions and 3 deletions
Loading…
Reference in new issue