diff --git a/lightningd/lightningd.c b/lightningd/lightningd.c index 64a132566895..71e9b05aaa26 100644 --- a/lightningd/lightningd.c +++ b/lightningd/lightningd.c @@ -1038,6 +1038,7 @@ int main(int argc, char *argv[]) * variables. */ ld = new_lightningd(NULL); ld->state = LD_STATE_INITIALIZING; + log_info(ld->log, "%s", version()); /*~ We store an copy of our arguments before parsing mangles them, so * we can re-exec if versions of subdaemons change. Note the use of diff --git a/tests/test_misc.py b/tests/test_misc.py index 147c5681f252..ffcad5ee2594 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -3014,7 +3014,7 @@ def test_notimestamp_logging(node_factory): # Make sure this is specified *before* other options! l1.daemon.early_opts.insert(0, '--log-timestamps=false') l1.start() - assert l1.daemon.logs[0].startswith("lightningd-1 DEBUG") + assert l1.daemon.logs[0].startswith("lightningd-1 INFO") assert l1.rpc.listconfigs()['configs']['log-timestamps']['value_bool'] is False