fixed first block of startup debug messages missing when using a custom logger that gets set at runtime

for example by overriding finalize_config