rgb-cln/doc
Rusty Russell 0056dd7557 lightningd: disallow --daemon without --log-file.
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.
2021-02-01 09:57:54 +10:30
..
release-notes doc: Fixed typo in the release notes 2018-06-18 12:45:00 +02:00
.gitignore Add documentation. 2015-07-18 10:46:53 +09:30
BACKUP.md doc/BACKUP.md: Minor typo due to rearranged text. 2020-12-16 12:36:52 +01:00
CHANGELOG.md docs: Add configuration for the sphinx documentation generator 2019-02-18 02:42:29 +00:00
FAQ.md doc/BACKUP.md: Document backup strategies for `lightningd`. 2020-12-15 12:16:50 +01:00
FUZZING.md doc: add a document about our fuzz testing integration 2020-10-21 19:34:39 +02:00
HACKING.md doc: update HACKING.md 2020-10-23 12:47:47 -05:00
INSTALL.md make: have `git submodule update` be recursive 2020-12-11 13:20:54 +01:00
MAKING-RELEASES.md doc: Make the release process a bit more readable 2021-01-26 15:45:13 +01:00
Makefile doc: Manual page for sendonionmessage. 2021-01-14 13:56:13 +01:00
PLUGINS.md doc: openchannel note close_to can only be set once 2021-02-01 09:57:15 +10:30
REPRODUCIBLE.md docs: Update the repro-build docs to the new docker-based system 2020-09-09 20:22:42 +09:30
STYLE.md doc: STYLE.md fix "parameters get" 2020-10-28 14:32:20 -05:00
TOR.md doc/TOR.md: Add missing instructions to add user to Tor group. 2020-11-23 12:22:10 -06:00
bitcoin.bib bitcoin.bib: Add Satoshi paper URL and date 2018-03-04 03:22:32 +01:00
commit-tx.eps Add documentation. 2015-07-18 10:46:53 +09:30
commit-tx.svg Add documentation. 2015-07-18 10:46:53 +09:30
conf.py docs: Autodetect version and copyright year in the sphinx doc 2019-02-22 17:55:36 +01:00
deployable-lightning.lyx udpate broken link 2018-06-08 17:56:48 +02:00
deployable-lightning.pdf Regenerate PDF. 2015-11-20 06:45:19 +10:30
dual-anchor-diag1.eps Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag1.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag2.eps Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag2.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag3.eps Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag3.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor-diag4.eps doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-diag4.svg doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-final.eps doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-final.svg doc: fix flaw in escape transactions. 2015-07-20 14:07:25 +09:30
dual-anchor-take2.svg Add documentation. 2015-07-18 10:46:53 +09:30
dual-anchor.svg Add documentation. 2015-07-18 10:46:53 +09:30
htlc.eps Add documentation. 2015-07-18 10:46:53 +09:30
htlc.svg Add documentation. 2015-07-18 10:46:53 +09:30
index.rst doc: Manual page for sendonionmessage. 2021-01-14 13:56:13 +01:00
lightning-autocleaninvoice.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-autocleaninvoice.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-check.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-check.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-checkmessage.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-checkmessage.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-cli.1 lightning-cli: print notifications (with '# ' prefix) if received. 2020-10-23 13:53:16 +10:30
lightning-cli.1.md lightning-cli: print notifications (with '# ' prefix) if received. 2020-10-23 13:53:16 +10:30
lightning-close.7 close: add notification for slow closes. 2020-10-23 13:53:16 +10:30
lightning-close.7.md close: add notification for slow closes. 2020-10-23 13:53:16 +10:30
lightning-connect.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-connect.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-createinvoice.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-createinvoice.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-createonion.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-createonion.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-decode.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-decode.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-decodepay.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-decodepay.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-delexpiredinvoice.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-delexpiredinvoice.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-delinvoice.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-delinvoice.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-delpay.7 Added additional fix to code formatting and English spelling. 2020-09-10 17:27:51 +09:30
lightning-delpay.7.md Added additional fix to code formatting and English spelling. 2020-09-10 17:27:51 +09:30
lightning-dev-sendcustommsg.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-dev-sendcustommsg.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-disconnect.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-disconnect.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-feerates.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-feerates.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-fetchinvoice.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-fetchinvoice.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-fundchannel.7 fundchannel: take a 'close_to' address 2020-10-16 13:51:57 +10:30
lightning-fundchannel.7.md fundchannel: take a 'close_to' address 2020-10-16 13:51:57 +10:30
lightning-fundchannel_cancel.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-fundchannel_cancel.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-fundchannel_complete.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-fundchannel_complete.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-fundchannel_start.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-fundchannel_start.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-fundpsbt.7 fundpsbt/utxopsbt: new `min_witness_weight` param 2020-12-02 14:19:08 +10:30
lightning-fundpsbt.7.md fundpsbt/utxopsbt: new `min_witness_weight` param 2020-12-02 14:19:08 +10:30
lightning-getinfo.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-getinfo.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-getlog.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-getlog.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-getroute.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-getroute.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-getsharedsecret.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-getsharedsecret.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-help.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-help.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-hsmtool.8 doc: document output descriptors in hsmtool 2020-11-10 10:34:13 -06:00
lightning-hsmtool.8.md doc: document output descriptors in hsmtool 2020-11-10 10:34:13 -06:00
lightning-invoice.7 invoice: add ctlv option. 2021-01-08 10:45:56 +01:00
lightning-invoice.7.md invoice: add ctlv option. 2021-01-08 10:45:56 +01:00
lightning-keysend.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-keysend.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-listchannels.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-listchannels.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-listconfigs.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-listconfigs.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-listforwards.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-listforwards.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-listfunds.7 Added spent option to listfunds 2020-12-22 13:00:02 +01:00
lightning-listfunds.7.md Added spent option to listfunds 2020-12-22 13:00:02 +01:00
lightning-listinvoices.7 doc: update and fix listinvoices output in man page. 2021-01-09 14:34:35 +10:30
lightning-listinvoices.7.md doc: update and fix listinvoices output in man page. 2021-01-09 14:34:35 +10:30
lightning-listnodes.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-listnodes.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-listpays.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-listpays.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-listpeers.7 doc: fees on listpeers 2020-12-07 14:26:36 +01:00
lightning-listpeers.7.md doc: fees on listpeers 2020-12-07 14:26:36 +01:00
lightning-listsendpays.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-listsendpays.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-listtransactions.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-listtransactions.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-multifundchannel.7 mfc: Add a `commitment_feerate` optional parameter to multifundchannel 2020-10-21 11:24:16 +10:30
lightning-multifundchannel.7.md mfc: Add a `commitment_feerate` optional parameter to multifundchannel 2020-10-21 11:24:16 +10:30
lightning-multiwithdraw.7 plugins/spender/multiwithdraw.c: Implement multiwithdraw command. 2020-09-09 20:36:08 +09:30
lightning-multiwithdraw.7.md plugins/spender/multiwithdraw.c: Implement multiwithdraw command. 2020-09-09 20:36:08 +09:30
lightning-newaddr.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-newaddr.7.md added documentation of commands listnodes, sendpsbt 2020-09-08 14:55:29 +09:30
lightning-notifications.7 JSON-RPC: notifications command. 2020-10-23 13:53:16 +10:30
lightning-notifications.7.md JSON-RPC: notifications command. 2020-10-23 13:53:16 +10:30
lightning-offer.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-offer.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-offerout.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-offerout.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-openchannel_init.7 df: Pass the serial_id of the funding output to openchannel_init caller 2020-10-21 06:22:18 +10:30
lightning-openchannel_init.7.md df: Pass the serial_id of the funding output to openchannel_init caller 2020-10-21 06:22:18 +10:30
lightning-openchannel_signed.7 df-open: use channel_id for openchannel_update and openchannel_signed 2020-10-20 12:50:31 +10:30
lightning-openchannel_signed.7.md df-open: use channel_id for openchannel_update and openchannel_signed 2020-10-20 12:50:31 +10:30
lightning-openchannel_update.7 df: pass back 'close_to' for completed/commitment secured channels 2020-11-23 12:41:05 -06:00
lightning-openchannel_update.7.md df: pass back 'close_to' for completed/commitment secured channels 2020-11-23 12:41:05 -06:00
lightning-pay.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-pay.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-ping.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-ping.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-plugin.7 Plugin: support extra args to "start". 2020-12-15 09:28:56 +10:30
lightning-plugin.7.md Plugin: support extra args to "start". 2020-12-15 09:28:56 +10:30
lightning-reserveinputs.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-reserveinputs.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-sendinvoice.7 doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-sendinvoice.7.md doc: note where experimental-offers is required or affects commands. 2021-01-14 13:56:13 +01:00
lightning-sendonion.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-sendonion.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-sendonionmessage.7 doc: Manual page for sendonionmessage. 2021-01-14 13:56:13 +01:00
lightning-sendonionmessage.7.md doc: Manual page for sendonionmessage. 2021-01-14 13:56:13 +01:00
lightning-sendpay.7 doc: Document existence of `erring_direction` in `sendpay` result 2021-01-08 19:28:30 +01:00
lightning-sendpay.7.md doc: Document existence of `erring_direction` in `sendpay` result 2021-01-08 19:28:30 +01:00
lightning-sendpsbt.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-sendpsbt.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-setchannelfee.7 doc: typo in lightning-setchannelfee.7 2020-10-23 12:47:47 -05:00
lightning-setchannelfee.7.md doc: typo in lightning-setchannelfee.7 2020-10-23 12:47:47 -05:00
lightning-signmessage.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-signmessage.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-signpsbt.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-signpsbt.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-stop.7 doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-stop.7.md doc: language tidyups and a few minor refinements. 2020-09-08 14:55:29 +09:30
lightning-txdiscard.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-txdiscard.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-txprepare.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-txprepare.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-txsend.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-txsend.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-unreserveinputs.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-unreserveinputs.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-utxopsbt.7 fundpsbt/utxopsbt: new `min_witness_weight` param 2020-12-02 14:19:08 +10:30
lightning-utxopsbt.7.md fundpsbt/utxopsbt: new `min_witness_weight` param 2020-12-02 14:19:08 +10:30
lightning-waitanyinvoice.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-waitanyinvoice.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-waitblockheight.7 json-rpc: Give `waitblockheight` an error code for timeouts 2021-01-08 09:19:24 +01:00
lightning-waitblockheight.7.md json-rpc: Give `waitblockheight` an error code for timeouts 2021-01-08 09:19:24 +01:00
lightning-waitinvoice.7 doc: fix waitinvoice update. 2021-01-09 14:34:35 +10:30
lightning-waitinvoice.7.md doc: fix waitinvoice update. 2021-01-09 14:34:35 +10:30
lightning-waitsendpay.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-waitsendpay.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightning-withdraw.7 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightning-withdraw.7.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
lightningd-config.5 lightningd: disallow --daemon without --log-file. 2021-02-01 09:57:54 +10:30
lightningd-config.5.md lightningd: disallow --daemon without --log-file. 2021-02-01 09:57:54 +10:30
lightningd.8 doc, wiregen: use SHA256 stamps instead of git versions. 2020-08-31 21:33:26 -05:00
lightningd.8.md doc: force refresh of all manpages. 2020-08-25 12:53:13 +09:30
ln-draft-fig1.eps doc: add figures from LN draft (thanks Joseph!). 2015-07-20 14:07:40 +09:30
ln-draft-fig2.eps doc: add figures from LN draft (thanks Joseph!). 2015-07-20 14:07:40 +09:30