Closed Sjors closed 1 year ago
this is not helping you?
lightningd: Server started with public key 03ef601dd16784f4e81167fcef31d17405e2ba14d6a555a002f2b15c84117cf694, alias UNITEDNIGHT-v23.05-128-g9f1e1ad (color #03ef60) and lightningd v23.05-128-g9f1e1ad
I didn't notice that one, I guess it's not the first message after startup?
No, it is after the ------------------
line when the daemon will start (after migrating the database and all the other stuff, so it can take a while to show up on the log
Loading the database takes a very long time for me because the backup is on a slow drive.
Loading the database takes a very long time for me because the backup is on a slow drive.
Yeah I was assuming this, maybe we can print more information before too, I think it is not a big deal
Perhaps log_info("Version %s") in log.c just before "Opened log file"?
Perhaps log_info("Version %s") in log.c just before "Opened log file"?
Yeah this is what I was thinking
Ok this kind of fomrat should address your issue @Sjors
(cln-meta-project-py3.11) ➜ lightning git:(macros/log-version) ✗ ./lightningd/lightningd
2023-10-12T19:21:00.899Z INFO lightningd: lightningd v23.08.1-209-gae94be4-modded
2023-10-12T19:21:00.994Z INFO lightningd: Creating configuration directory /home/vincent/.lightning/bitcoin
2023-10-12T19:21:01.235Z INFO lightningd: Creating database
2023-10-12T19:21:01.279Z UNUSUAL hsmd: HSM: created new hsm_secret file
Could not connect to bitcoind using bitcoin-cli. Is bitcoind running?
Make sure you have bitcoind running and that bitcoin-cli is able to connect to bitcoind.
You can verify that your Bitcoin Core installation is ready for use by running:
$ bitcoin-cli echo 'hello world'
2023-10-12T19:21:01.349Z **BROKEN** plugin-bcli: \nCould not connect to bitcoind using bitcoin-cli. Is bitcoind running?\n\nMake sure you have bitcoind running and that bitcoin-cli is able to connect to bitcoind.\n\nYou can verify that your Bitcoin Core installation is ready for use by running:\n\n $ bitcoin-cli echo 'hello world'\n
2023-10-12T19:21:01.349Z INFO plugin-bcli: Killing plugin: exited before we sent init
The Bitcoin backend died.
Whenever I update to the latest version (using
make install
) I always like to sanity check if I indeed installed the latest version and if things are working.I can use
getinfo
, but it would be easier if the debug log outputs the version number on startup.In addition it would be good to add some blank lines or ASCII art on startup so it's easier to see where to start reading.
Current log: