[PATCH v3 1/9] log to stderr until process is daemonized, even if a logfile is set