Actually, completely rewritten the original patch as in v3, the logging initialization is much more complex and requires allocation. This way, to bootstrap properly, the logger has a pre-defined log target to stderr.