@ -146,7 +146,7 @@ for any subsystem containing that string\. Subsystems include:
.RE
.RE
The following subsystems exist for each channel, where N is an incrementing
The following subsystems exist for each channel, where N is an incrementing
internal integer id assigned for the lifetime of the channel:
internal integer id assigned for the lifetime of the channel:
.RS
.RS
@ -159,29 +159,34 @@ internal integer id assigned for the lifetime of the channel:
.IP \[ bu]
.IP \[ bu]
\fI onchaind-chan #N\fR : Each onchain close handling daemon
\fI onchaind-chan #N\fR : Each onchain close handling daemon
.IP \[ bu]
.IP \[ bu]
\fI json #FD\fR : Each JSONRPC connection, FD = file descriptor number
\fI json #FD\fR : Each JSONRPC connection, FD = file descriptor number
.RE
So, \fB log-level=debug:plugin\fR would set debug level logging on all
plugins and the plugin manager\. \fB log-level=io:chan #55\fR would set
IO logging on channel number 55 (or 550, for that matter)\.
\fB log-prefix\fR =\fI PREFIX\fR
\fB log-prefix\fR =\fI PREFIX\fR
Prefix for log lines: this can be customized if you want to merge logs
Prefix for log lines: this can be customized if you want to merge logs
with multiple daemons\.
with multiple daemons\.
\fB log-file\fR =\fI PATH\fR
\fB log-file\fR =\fI PATH\fR
Log to this file instead of stdout\. Sending \fB lightningd\fR (8) SIGHUP will
Log to this file instead of stdout\. Sending \fB lightningd\fR (8) SIGHUP will
cause it to reopen this file (useful for log rotation)\.
cause it to reopen this file (useful for log rotation)\.
\fB rpc-file\fR =\fI PATH\fR
\fB rpc-file\fR =\fI PATH\fR
Set JSON-RPC socket (or /dev/tty), such as for \fB lightning-cli\fR (1)\.
Set JSON-RPC socket (or /dev/tty), such as for \fB lightning-cli\fR (1)\.
\fB daemon\fR
\fB daemon\fR
Run in the background, suppress stdout and stderr\.
Run in the background, suppress stdout and stderr\.
\fB conf\fR =\fI PATH\fR
\fB conf\fR =\fI PATH\fR
Sets configuration file (default: \fB lightning-dir\fR /\fI config\fR )\. If this
Sets configuration file (default: \fB lightning-dir\fR /\fI config\fR )\. If this
is a relative path, it is relative to the starting directory, not
is a relative path, it is relative to the starting directory, not
\fB lightning-dir\fR (unlike other paths)\. \fI PATH\fR must exist and be
\fB lightning-dir\fR (unlike other paths)\. \fI PATH\fR must exist and be
@ -189,20 +194,17 @@ readable (we allow missing files in the default case)\. Using this inside
a configuration file is meaningless\.
a configuration file is meaningless\.
\fB wallet\fR =\fI DSN\fR
\fB wallet\fR =\fI DSN\fR
Identify the location of the wallet\. This is a fully qualified data source
Identify the location of the wallet\. This is a fully qualified data source
name, including a scheme such as \fB sqlite3\fR or \fB postgres\fR followed by the
name, including a scheme such as \fB sqlite3\fR or \fB postgres\fR followed by the
connection parameters\.
connection parameters\.
\fB encrypted-hsm\fR
\fB encrypted-hsm\fR
If set, you will be prompted to enter a password used to encrypt the \fB hsm_secret\fR \.
If set, you will be prompted to enter a password used to encrypt the \fB hsm_secret\fR \.
Note that once you encrypt the \fB hsm_secret\fR this option will be mandatory for
Note that once you encrypt the \fB hsm_secret\fR this option will be mandatory for
\fB lightningd\fR to start\.
\fB lightningd\fR to start\.
.RE
.SH Lightning node customization options
.SH Lightning node customization options
\fB alias\fR =\fI RRGGBB\fR
\fB alias\fR =\fI RRGGBB\fR