lnd: disable log file, disable log timestamps
This is the default for nix-bitcoin services. `no-timestamps` has been added in lnd 0.19.0-beta. Also remove deprecated option `bitcoin.active`.
This commit is contained in:
parent
b91de261af
commit
9311fb9a1b
1 changed files with 4 additions and 2 deletions
|
|
@ -158,16 +158,18 @@ let
|
|||
networkDir = cfg.networkDir;
|
||||
configFile = pkgs.writeText "lnd.conf" ''
|
||||
datadir=${cfg.dataDir}
|
||||
logdir=${cfg.dataDir}/logs
|
||||
tlscertpath=${cfg.certPath}
|
||||
tlskeypath=${secretsDir}/lnd-key
|
||||
|
||||
# We're logging via journald
|
||||
logging.file.disable=1
|
||||
logging.console.no-timestamps=1
|
||||
|
||||
listen=${toString cfg.address}:${toString cfg.port}
|
||||
rpclisten=${cfg.rpcAddress}:${toString cfg.rpcPort}
|
||||
restlisten=${cfg.restAddress}:${toString cfg.restPort}
|
||||
|
||||
bitcoin.${bitcoind.network}=1
|
||||
bitcoin.active=1
|
||||
bitcoin.node=bitcoind
|
||||
|
||||
${optionalString (cfg.tor.proxy) "tor.active=true"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue