Closed OliverOffing closed 11 months ago
nix-bitcoin sets nodebuglog=1
by default
You can overwrite this with, e.g., debuglogfile=debug.log
in extraConfig
:
services.bitcoind.extraConfig = ''
debuglogfile=debug.log
'';
Hi @OliverOffing. You can increase the journal size to 8 GB, for example, by adding
services.journald.extraConfig = "SystemMaxUse=8G";
to your configuration. You can verify that this worked by checking the logs of the journal:
journalctl -b -u systemd-journald
This is very useful. Thanks all!
I wanted to contribute to https://github.com/bitcoin-data/block-arrival-times but I just noticed I don't have old log data. What would be the best way to either increase journald's max log size for just the
bitcoind
service, or alternatively havebitcoind
write todebug.log
?