move default-logger check from runtime to init