node: Make sure to print early errors
It turns out that failing to read configuration resulted in no output, because the logger would only be set after configuration had been read.
Fix this, by setting the logger early, with a log level that is then corrected as soon as configuration is available.
It turns out that failing to read configuration resulted in no output, because the logger would only be set after configuration had been read.
Fix this, by setting the logger early, with a log level that is then corrected as soon as configuration is available.
Rebased
Move logger initialization to its of fn, overall cleanup.
Fix typos and spelling.