(And replay them once we know our first real logs.) This is an implementation for issue 6938. It solves the problem of early log mesages not getting sent to log files, but not the issue of early log messages not getting sent to controllers.
* Issue #5583
These need to be a separate executable, since the point of backtrace.c is that it can crash and write stuff.